1 Clazz.declarePackage ("com.stevesoft.pat");
\r
2 Clazz.load (null, "com.stevesoft.pat.Prop", ["com.stevesoft.pat.Bits"], function () {
\r
3 c$ = Clazz.declareType (com.stevesoft.pat, "Prop");
\r
4 c$.isDecimalDigit = Clazz.defineMethod (c$, "isDecimalDigit",
\r
6 if (com.stevesoft.pat.Bits.decimal_digit == null) {
\r
7 com.stevesoft.pat.Bits.decimal_digit_f ();
\r
8 }return com.stevesoft.pat.Bits.decimal_digit.get (c.charCodeAt (0));
\r
10 c$.isAlphabetic = Clazz.defineMethod (c$, "isAlphabetic",
\r
12 if (com.stevesoft.pat.Bits.letter == null) {
\r
13 com.stevesoft.pat.Bits.letter_f ();
\r
14 }return com.stevesoft.pat.Bits.letter.get (c.charCodeAt (0));
\r
16 c$.isMath = Clazz.defineMethod (c$, "isMath",
\r
18 if (com.stevesoft.pat.Bits.math == null) {
\r
19 com.stevesoft.pat.Bits.math_f ();
\r
20 }return com.stevesoft.pat.Bits.math.get (c.charCodeAt (0));
\r
22 c$.isCurrency = Clazz.defineMethod (c$, "isCurrency",
\r
24 if (com.stevesoft.pat.Bits.currency == null) {
\r
25 com.stevesoft.pat.Bits.currency_f ();
\r
26 }return com.stevesoft.pat.Bits.currency.get (c.charCodeAt (0));
\r
28 c$.isWhite = Clazz.defineMethod (c$, "isWhite",
\r
30 if (com.stevesoft.pat.Bits.white == null) {
\r
31 com.stevesoft.pat.Bits.white_f ();
\r
32 }return com.stevesoft.pat.Bits.white.get (c.charCodeAt (0));
\r
34 c$.isPunct = Clazz.defineMethod (c$, "isPunct",
\r
36 if (com.stevesoft.pat.Bits.punct == null) {
\r
37 com.stevesoft.pat.Bits.punct_f ();
\r
38 }return com.stevesoft.pat.Bits.punct.get (c.charCodeAt (0));
\r