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; }
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 }
public CLangCTypeHandler(string name, afh.Text.CLangCType cat, bool positive) { this.name = (positive?@"\p{":@"\P{") + name + "}"; this.cat = cat; this.positive = positive; }
public Tester(afh.Text.CLangCType ctype, bool positive) { this.ctype = ctype; this.positive = positive; }