Esempio n. 1
0
 public CharClassInfo(string name, afh.Text.CLangCType type)
 {
     this.name     = name;
     this.type     = CharClassType.CLanguageCType;
     this.node_pos = new CLangCTypeNode(name, type, true);
     this.node_neg = new CLangCTypeNode(name, type, false);
     this.value    = (byte)type;
 }
Esempio n. 2
0
            public CLangCTypeNode(string name, afh.Text.CLangCType ctype, bool positive)
            {
                this.name     = @"\" + (positive?'p':'P') + "{" + name + "}";
                this.ctype    = ctype;
                this.positive = positive;
#if Ver1_0a2
                this.inst = new Tester(ctype, positive);
#endif
            }
Esempio n. 3
0
 public CLangCTypeHandler(string name, afh.Text.CLangCType cat, bool positive)
 {
     this.name     = (positive?@"\p{":@"\P{") + name + "}";
     this.cat      = cat;
     this.positive = positive;
 }
Esempio n. 4
0
 public Tester(afh.Text.CLangCType ctype, bool positive)
 {
     this.ctype    = ctype;
     this.positive = positive;
 }