JAL-1807 Bob's JalviewJS prototype first commit
[jalviewjs.git] / site / j2s / com / stevesoft / pat / Rthings.js
1 Clazz.declarePackage ("com.stevesoft.pat");\r
2 Clazz.load (["com.stevesoft.pat.Regex"], "com.stevesoft.pat.Rthings", null, function () {\r
3 c$ = Clazz.decorateAsClass (function () {\r
4 this.val = 0;\r
5 this.ignoreCase = false;\r
6 this.dontMatchInQuotes = false;\r
7 this.optimizeMe = false;\r
8 this.noBackRefs = false;\r
9 this.parenLevel = 0;\r
10 this.gFlag = false;\r
11 this.mFlag = false;\r
12 this.sFlag = false;\r
13 this.p = null;\r
14 this.o = null;\r
15 Clazz.instantialize (this, arguments);\r
16 }, com.stevesoft.pat, "Rthings");\r
17 Clazz.prepareFields (c$, function () {\r
18 this.val = com.stevesoft.pat.Regex.BackRefOffset;\r
19 });\r
20 Clazz.makeConstructor (c$, \r
21 function (r) {\r
22 this.ignoreCase = r.ignoreCase;\r
23 this.dontMatchInQuotes = r.dontMatchInQuotes;\r
24 }, "com.stevesoft.pat.Regex");\r
25 Clazz.defineMethod (c$, "set", \r
26 function (r) {\r
27 r.gFlag = this.gFlag;\r
28 r.mFlag = this.mFlag;\r
29 r.sFlag = this.sFlag;\r
30 r.ignoreCase = this.ignoreCase;\r
31 r.dontMatchInQuotes = this.dontMatchInQuotes;\r
32 if (this.optimizeMe) {\r
33 r.optimize ();\r
34 }}, "com.stevesoft.pat.Regex");\r
35 });\r