public virtual Object Visit(ASTText node, Object data) { data = node.ChildrenAccept(this, data); return data; }
/// <summary>Display an ASTText node /// </summary> public override Object Visit(ASTText node, Object data) { return ShowNode(node, data); }
public virtual System.Object visit(ASTText node, System.Object data) { data = node.childrenAccept(this, data); return data; }
/// <summary> This method is responsible for allowing /// all non-grammar text to pass through /// unscathed. /// </summary> public void Text() { /*@bgen(jjtree) Text */ ASTText jjtn000 = new ASTText(this, ParserTreeConstants.JJTTEXT); bool jjtc000 = true; jjtree.openNodeScope(jjtn000); try { switch ((jj_ntk_Renamed_Field == - 1)?jj_ntk():jj_ntk_Renamed_Field) { case ParserConstants.TEXT: jj_consume_token(ParserConstants.TEXT); break; case ParserConstants.DOT: jj_consume_token(ParserConstants.DOT); break; case ParserConstants.RPAREN: jj_consume_token(ParserConstants.RPAREN); break; case ParserConstants.LPAREN: jj_consume_token(ParserConstants.LPAREN); break; case ParserConstants.NUMBER_LITERAL: jj_consume_token(ParserConstants.NUMBER_LITERAL); break; case ParserConstants.STRING_LITERAL: jj_consume_token(ParserConstants.STRING_LITERAL); break; case ParserConstants.ESCAPE: jj_consume_token(ParserConstants.ESCAPE); break; case ParserConstants.LCURLY: jj_consume_token(ParserConstants.LCURLY); break; case ParserConstants.RCURLY: jj_consume_token(ParserConstants.RCURLY); break; default: jj_la1[26] = jj_gen; jj_consume_token(- 1); throw new ParseException(); } } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
/// <summary>Display an ASTText node /// </summary> public override System.Object visit(ASTText node, System.Object data) { return showNode(node, data); }