public override object ErrorNode(ITokenStream input, IToken start, IToken stop, RecognitionException e) { GrammarAST t = new GrammarASTErrorNode(input, start, stop, e); if (_outer != null) { t.enclosingRuleName = _outer.currentRuleName; } return(t); }
public override object ErrorNode( ITokenStream input, IToken start, IToken stop, RecognitionException e ) { GrammarAST t = new GrammarASTErrorNode( input, start, stop, e ); if ( _outer != null ) t.enclosingRuleName = _outer.currentRuleName; return t; }