public override void Pass(ref ParseStackEntry top) { Parser yyps = top.yyps; if (this.m_action == null) { yyps.Push(top); top = new ParseStackEntry(yyps, this.m_next.m_state, yyps.NextSym()); } else { yyps.Push(new ParseStackEntry(yyps, top.m_state, this.m_action.Action(yyps))); top.m_state = this.m_next.m_state; } }
public virtual void Pass(ref ParseStackEntry top) { }
public error(Parser yyp, ParseStackEntry s) : base(yyp) { this.state = s.m_state; this.sym = s.m_value; }