public virtual Object Visit(ASTLENode node, Object data) { data = node.ChildrenAccept(this, data); return data; }
/// <summary>Display an ASTLENode ( <= ) /// </summary> public override Object Visit(ASTLENode node, Object data) { return ShowNode(node, data); }
public virtual System.Object visit(ASTLENode node, System.Object data) { data = node.childrenAccept(this, data); return data; }
public void RelationalExpression() { AdditiveExpression(); while (true) { switch ((jj_ntk_Renamed_Field == - 1)?jj_ntk():jj_ntk_Renamed_Field) { case ParserConstants.LOGICAL_LT: case ParserConstants.LOGICAL_LE: case ParserConstants.LOGICAL_GT: case ParserConstants.LOGICAL_GE: ; break; default: jj_la1[41] = 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_16_brk; } switch ((jj_ntk_Renamed_Field == - 1)?jj_ntk():jj_ntk_Renamed_Field) { case ParserConstants.LOGICAL_LT: jj_consume_token(ParserConstants.LOGICAL_LT); ASTLTNode jjtn001 = new ASTLTNode(this, ParserTreeConstants.JJTLTNODE); 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 { AdditiveExpression(); } 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, 2); } } break; case ParserConstants.LOGICAL_GT: jj_consume_token(ParserConstants.LOGICAL_GT); ASTGTNode jjtn002 = new ASTGTNode(this, ParserTreeConstants.JJTGTNODE); bool jjtc002 = true; jjtree.openNodeScope(jjtn002); //UPGRADE_NOTE: Exception 'java.lang.Throwable' was converted to ' ' which has different behavior. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1100"' try { AdditiveExpression(); } catch (System.Exception jjte002) { if (jjtc002) { jjtree.clearNodeScope(jjtn002); jjtc002 = false; } else { jjtree.popNode(); } if (jjte002 is System.SystemException) { { if (true) throw (System.SystemException) jjte002; } } if (jjte002 is ParseException) { { if (true) throw (ParseException) jjte002; } } { if (true) throw (System.ApplicationException) jjte002; } } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, 2); } } break; case ParserConstants.LOGICAL_LE: jj_consume_token(ParserConstants.LOGICAL_LE); ASTLENode jjtn003 = new ASTLENode(this, ParserTreeConstants.JJTLENODE); bool jjtc003 = true; jjtree.openNodeScope(jjtn003); //UPGRADE_NOTE: Exception 'java.lang.Throwable' was converted to ' ' which has different behavior. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1100"' try { AdditiveExpression(); } catch (System.Exception jjte003) { if (jjtc003) { jjtree.clearNodeScope(jjtn003); jjtc003 = false; } else { jjtree.popNode(); } if (jjte003 is System.SystemException) { { if (true) throw (System.SystemException) jjte003; } } if (jjte003 is ParseException) { { if (true) throw (ParseException) jjte003; } } { if (true) throw (System.ApplicationException) jjte003; } } finally { if (jjtc003) { jjtree.closeNodeScope(jjtn003, 2); } } break; case ParserConstants.LOGICAL_GE: jj_consume_token(ParserConstants.LOGICAL_GE); ASTGENode jjtn004 = new ASTGENode(this, ParserTreeConstants.JJTGENODE); bool jjtc004 = true; jjtree.openNodeScope(jjtn004); //UPGRADE_NOTE: Exception 'java.lang.Throwable' was converted to ' ' which has different behavior. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1100"' try { AdditiveExpression(); } catch (System.Exception jjte004) { if (jjtc004) { jjtree.clearNodeScope(jjtn004); jjtc004 = false; } else { jjtree.popNode(); } if (jjte004 is System.SystemException) { { if (true) throw (System.SystemException) jjte004; } } if (jjte004 is ParseException) { { if (true) throw (ParseException) jjte004; } } { if (true) throw (System.ApplicationException) jjte004; } } finally { if (jjtc004) { jjtree.closeNodeScope(jjtn004, 2); } } break; default: jj_la1[42] = jj_gen; jj_consume_token(- 1); throw new ParseException(); } } //UPGRADE_NOTE: Label 'label_16_brk' was added. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1011"' label_16_brk: ; }
/// <summary>Display an ASTLENode ( <= ) /// </summary> public override System.Object visit(ASTLENode node, System.Object data) { return showNode(node, data); }