public virtual Object Visit(ASTNENode node, Object data) { data = node.ChildrenAccept(this, data); return data; }
public void EqualityExpression() { RelationalExpression(); while(true) { switch(GetCurrentTokenKind()) { case ParserConstants.LOGICAL_EQUALS: case ParserConstants.LOGICAL_NOT_EQUALS: ; break; default: jj_la1[39] = 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_15_brk; } switch(GetCurrentTokenKind()) { case ParserConstants.LOGICAL_EQUALS: ConsumeToken(ParserConstants.LOGICAL_EQUALS); ASTEQNode jjtn001 = new ASTEQNode(this, ParserTreeConstants.EQ_NODE); bool jjtc001 = true; nodeTree.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 { RelationalExpression(); } catch(System.Exception exception) { nodeTree.ClearNodeScope(jjtn001); jjtc001 = false; if (exception is SystemException) { throw; } if (exception is ParseException) { throw; } throw (ApplicationException) exception; } finally { if (jjtc001) { nodeTree.CloseNodeScope(jjtn001, 2); } } break; case ParserConstants.LOGICAL_NOT_EQUALS: ConsumeToken(ParserConstants.LOGICAL_NOT_EQUALS); ASTNENode jjtn002 = new ASTNENode(this, ParserTreeConstants.NE_NODE); bool jjtc002 = true; nodeTree.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 { RelationalExpression(); } catch(System.Exception exception) { nodeTree.ClearNodeScope(jjtn002); jjtc002 = false; if (exception is SystemException) { throw; } if (exception is ParseException) { throw; } throw (ApplicationException) exception; } finally { if (jjtc002) { nodeTree.CloseNodeScope(jjtn002, 2); } } break; default: jj_la1[40] = jj_gen; ConsumeToken(-1); throw new ParseException(); } } //UPGRADE_NOTE: Label 'label_15_brk' was added. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1011"' label_15_brk: ; }
/// <summary>Display an ASTNENode ( != ) /// </summary> public override Object Visit(ASTNENode node, Object data) { return ShowNode(node, data); }