public virtual Object Visit(ASTAndNode node, Object data) { data = node.ChildrenAccept(this, data); return data; }
public void ConditionalAndExpression() { EqualityExpression(); while(true) { switch(GetCurrentTokenKind()) { case ParserConstants.LOGICAL_AND: ; break; default: jj_la1[38] = 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_14_brk; } ConsumeToken(ParserConstants.LOGICAL_AND); ASTAndNode jjtn001 = new ASTAndNode(this, ParserTreeConstants.AND_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 { EqualityExpression(); } 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); } } } //UPGRADE_NOTE: Label 'label_14_brk' was added. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1011"' label_14_brk: ; }
/// <summary>Display an ASTAndNode ( && ) /// </summary> public override Object Visit(ASTAndNode node, Object data) { return ShowNode(node, data); }