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