public virtual Object Visit(ASTElseStatement node, Object data) { data = node.ChildrenAccept(this, data); return data; }
/// <summary>Display an ASTElseStatement node /// </summary> public override Object Visit(ASTElseStatement node, Object data) { return ShowNode(node, data); }
public virtual System.Object visit(ASTElseStatement node, System.Object data) { data = node.childrenAccept(this, data); return data; }
public void ElseStatement() { /*@bgen(jjtree) ElseStatement */ ASTElseStatement jjtn000 = new ASTElseStatement(this, ParserTreeConstants.JJTELSESTATEMENT); bool jjtc000 = true; jjtree.openNodeScope(jjtn000); //UPGRADE_NOTE: Exception 'java.lang.Throwable' was converted to ' ' which has different behavior. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1100"' try { jj_consume_token(ParserConstants.ELSE_DIRECTIVE); ASTBlock jjtn001 = new ASTBlock(this, ParserTreeConstants.JJTBLOCK); bool jjtc001 = true; jjtree.openNodeScope(jjtn001); //UPGRADE_NOTE: Exception 'java.lang.Throwable' was converted to ' ' which has different behavior. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1100"' try { while (true) { Statement(); switch ((jj_ntk_Renamed_Field == - 1)?jj_ntk():jj_ntk_Renamed_Field) { case ParserConstants.LPAREN: case ParserConstants.RPAREN: case ParserConstants.ESCAPE_DIRECTIVE: case ParserConstants.SET_DIRECTIVE: case ParserConstants.DOUBLE_ESCAPE: case ParserConstants.ESCAPE: case ParserConstants.TEXT: case ParserConstants.SINGLE_LINE_COMMENT: case ParserConstants.FORMAL_COMMENT: case ParserConstants.MULTI_LINE_COMMENT: case ParserConstants.STRING_LITERAL: case ParserConstants.IF_DIRECTIVE: case ParserConstants.STOP_DIRECTIVE: case ParserConstants.NUMBER_LITERAL: case ParserConstants.WORD: case ParserConstants.IDENTIFIER: case ParserConstants.DOT: case ParserConstants.LCURLY: case ParserConstants.RCURLY: ; break; default: jj_la1[32] = jj_gen; //UPGRADE_NOTE: Labeled break statement was changed to a goto statement. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1012"' goto label_11_brk; } } //UPGRADE_NOTE: Label 'label_11_brk' was added. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1011"' label_11_brk: ; } catch (System.Exception jjte001) { if (jjtc001) { jjtree.clearNodeScope(jjtn001); jjtc001 = false; } else { jjtree.popNode(); } if (jjte001 is System.SystemException) { { if (true) throw (System.SystemException) jjte001; } } if (jjte001 is ParseException) { { if (true) throw (ParseException) jjte001; } } { if (true) throw (System.ApplicationException) jjte001; } } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } } catch (System.Exception jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 is System.SystemException) { { if (true) throw (System.SystemException) jjte000; } } if (jjte000 is ParseException) { { if (true) throw (ParseException) jjte000; } } { if (true) throw (System.ApplicationException) jjte000; } } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
/// <summary>Display an ASTElseStatement node /// </summary> public override System.Object visit(ASTElseStatement node, System.Object data) { return showNode(node, data); }