public TokClassDef(GenBase gbs, string name, string bas) { if (gbs is TokensGen) { TokensGen tokensGen = (TokensGen)gbs; this.m_name = name; tokensGen.m_tokens.tokens[(object)name] = (object)this; this.m_refToken = bas; } this.m_yynum = ++gbs.LastSymbol; }
public NfaNode(TokensGen tks) : base(tks) { }
public Nfa(TokensGen tks, Regex re) : base(tks) { this.m_end = new NfaNode(tks); re.Build(this); }
public LNode(TokensGen tks) { this.m_tks = tks; this.m_state = tks.NewState(); }
public Nfa(TokensGen tks) : base(tks) { this.m_end = new NfaNode(this.m_tks); }