public void UnaryExpression() { if (jj_2_11(2)) { switch(GetCurrentTokenKind()) { case ParserConstants.WHITESPACE: ConsumeToken(ParserConstants.WHITESPACE); break; default: jj_la1[47] = jj_gen; ; break; } ConsumeToken(ParserConstants.LOGICAL_NOT); ASTNotNode jjtn001 = new ASTNotNode(this, ParserTreeConstants.NOT_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 { UnaryExpression(); } catch(Exception jjte001) { nodeTree.ClearNodeScope(jjtn001); jjtc001 = false; if (jjte001 is SystemException) { throw; } if (jjte001 is ParseException) { throw; } throw (ApplicationException) jjte001; } finally { if (jjtc001) { nodeTree.CloseNodeScope(jjtn001, 1); } } } else { switch(GetCurrentTokenKind()) { case ParserConstants.LBRACKET: case ParserConstants.LPAREN: case ParserConstants.WHITESPACE: case ParserConstants.STRING_LITERAL: case ParserConstants.TRUE: case ParserConstants.FALSE: case ParserConstants.NUMBER_LITERAL: case ParserConstants.IDENTIFIER: case ParserConstants.LCURLY: PrimaryExpression(); break; default: jj_la1[48] = jj_gen; ConsumeToken(-1); throw new ParseException(); } } }
public virtual Object Visit(ASTNotNode node, Object data) { data = node.ChildrenAccept(this, data); return(data); }
/// <summary>Display an ASTNotNode ( ! ) /// </summary> public override Object Visit(ASTNotNode node, Object data) { return(ShowNode(node, data)); }
/// <summary>Display an ASTNotNode ( ! ) /// </summary> public override System.Object visit(ASTNotNode node, System.Object data) { return(showNode(node, data)); }
public virtual System.Object visit(ASTNotNode node, System.Object data) { data = node.childrenAccept(this, data); return(data); }
public override object Visit(ASTNotNode node, object data) { return(this.ShowNode(node, data)); }