Refine search
public final void expr() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST expr_AST = null; castExpr(); astFactory.addASTChild(currentAST, returnAST); expr_AST = (AST)currentAST.root; returnAST = expr_AST; }
public final void stringLiteral() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST stringLiteral_AST = null; org.apache.geode.cache.query.internal.parse.ASTLiteral tmp179_AST = null; tmp179_AST = (org.apache.geode.cache.query.internal.parse.ASTLiteral)astFactory.create(LT(1),"org.apache.geode.cache.query.internal.parse.ASTLiteral"); astFactory.addASTChild(currentAST, tmp179_AST); match(StringLiteral); stringLiteral_AST = (AST)currentAST.root; returnAST = stringLiteral_AST; }
public final void traceCommand() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST traceCommand_AST = null; { match(TOK_LT); org.apache.geode.cache.query.internal.parse.ASTTrace tmp7_AST = null; tmp7_AST = (org.apache.geode.cache.query.internal.parse.ASTTrace)astFactory.create(LT(1),"org.apache.geode.cache.query.internal.parse.ASTTrace"); astFactory.makeASTRoot(currentAST, tmp7_AST); match(LITERAL_trace); match(TOK_GT); } traceCommand_AST = (AST)currentAST.root; returnAST = traceCommand_AST; }
public final void resource_assign() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST resource_assign_AST = null; AST tmp178_AST = null; tmp178_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp178_AST); match(ASSIGN); expression(); astFactory.addASTChild(currentAST, returnAST); resource_assign_AST = (AST)currentAST.root; returnAST = resource_assign_AST; }
public final void loneProjectionAttributes() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST loneProjectionAttributes_AST = null; projectionAttributes(); astFactory.addASTChild(currentAST, returnAST); match(Token.EOF_TYPE); loneProjectionAttributes_AST = (AST)currentAST.root; returnAST = loneProjectionAttributes_AST; }
public final void annotationMemberValuePair() throws RecognitionException, TokenStreamException { ASTPair currentAST = new ASTPair(); AST annotationMemberValuePair_AST = null; Token i = null; i_AST = astFactory.create(i); match(IDENT); a = LT(1); a_AST = astFactory.create(a); match(ASSIGN); annotationMemberValueInitializer(); annotationMemberValuePair_AST = (AST)currentAST.root; annotationMemberValuePair_AST = (AST)astFactory.make( (new ASTArray(4)).add(astFactory.create(ANNOTATION_MEMBER_VALUE_PAIR,"ANNOTATION_MEMBER_VALUE_PAIR")).add(i_AST).add(a_AST).add(v_AST)); currentAST.root = annotationMemberValuePair_AST; currentAST.child = annotationMemberValuePair_AST!=null &&annotationMemberValuePair_AST.getFirstChild()!=null ?
public final void elseStatement() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST elseStatement_AST = null; AST tmp157_AST = null; tmp157_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp157_AST); match(LITERAL_else); statement(); astFactory.addASTChild(currentAST, returnAST); elseStatement_AST = (AST)currentAST.root; returnAST = elseStatement_AST; }
public final void whereClause() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST whereClause_AST = null; match(LITERAL_where); expr(); astFactory.addASTChild(currentAST, returnAST); whereClause_AST = (AST)currentAST.root; returnAST = whereClause_AST; }
public final void catchParameterDeclaration() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST catchParameterDeclaration_AST = null; AST pm_AST = null; AST mct_AST = null; Token id = null; AST id_AST = null; parameterModifier(); pm_AST = (AST)returnAST; multiCatchTypes(); mct_AST = (AST)returnAST; id = LT(1); id_AST = astFactory.create(id); match(IDENT); if ( inputState.guessing==0 ) { catchParameterDeclaration_AST = (AST)currentAST.root; catchParameterDeclaration_AST = (AST)astFactory.make( (new ASTArray(4)).add(astFactory.create(PARAMETER_DEF,"PARAMETER_DEF")).add(pm_AST).add((AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(TYPE,"TYPE")).add(mct_AST))).add(id_AST)); currentAST.root = catchParameterDeclaration_AST; currentAST.child = catchParameterDeclaration_AST!=null &&catchParameterDeclaration_AST.getFirstChild()!=null ? catchParameterDeclaration_AST.getFirstChild() : catchParameterDeclaration_AST; currentAST.advanceChildToEnd(); } returnAST = catchParameterDeclaration_AST; }
public final void finallyHandler() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST finallyHandler_AST = null; AST tmp174_AST = null; tmp174_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp174_AST); match(LITERAL_finally); compoundStatement(); astFactory.addASTChild(currentAST, returnAST); finallyHandler_AST = (AST)currentAST.root; returnAST = finallyHandler_AST; }
public final void inClause() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST inClause_AST = null; identifier(); astFactory.addASTChild(currentAST, returnAST); match(LITERAL_in); expr(); astFactory.addASTChild(currentAST, returnAST); inClause_AST = (AST)currentAST.root; returnAST = inClause_AST; }
ASTPair currentAST = new ASTPair(); AST enumDefinition_AST = null; Token e = null; e_AST = astFactory.create(e); match(ENUM); AST tmp17_AST = null; tmp17_AST = astFactory.create(LT(1)); match(IDENT); implementsClause(); if ( inputState.guessing==0 ) { enumDefinition_AST = (AST)currentAST.root; enumDefinition_AST = (AST)astFactory.make( (new ASTArray(6)).add(astFactory.create(ENUM_DEF,"ENUM_DEF")).add(modifiers).add(e_AST).add(tmp17_AST).add(ic_AST).add(eb_AST)); currentAST.root = enumDefinition_AST; currentAST.child = enumDefinition_AST!=null &&enumDefinition_AST.getFirstChild()!=null ?
public final void annotationDefault() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST annotationDefault_AST = null; AST tmp73_AST = null; tmp73_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp73_AST); match(LITERAL_default); annotationMemberValueInitializer(); astFactory.addASTChild(currentAST, returnAST); annotationDefault_AST = (AST)currentAST.root; returnAST = annotationDefault_AST; }
public final void newValue() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST newValue_AST = null; try { // for error handling concatenation(); astFactory.addASTChild(currentAST, returnAST); newValue_AST = (AST)currentAST.root; } catch (RecognitionException ex) { reportError(ex); recover(ex,_tokenSet_5); } returnAST = newValue_AST; }
public final void variableLengthParameterDeclaration() throws RecognitionException, TokenStreamException { ASTPair currentAST = new ASTPair(); AST variableLengthParameterDeclaration_AST = null; AST pm_AST = null; t_AST = (AST)returnAST; td = LT(1); td_AST = astFactory.create(td); match(ELLIPSIS); AST tmp117_AST = null; tmp117_AST = astFactory.create(LT(1)); match(IDENT); declaratorBrackets(t_AST); if ( inputState.guessing==0 ) { variableLengthParameterDeclaration_AST = (AST)currentAST.root; variableLengthParameterDeclaration_AST = (AST)astFactory.make( (new ASTArray(5)).add(astFactory.create(PARAMETER_DEF,"PARAMETER_DEF")).add(pm_AST).add((AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(TYPE,"TYPE")).add(pd_AST))).add(td_AST).add(tmp117_AST)); currentAST.root = variableLengthParameterDeclaration_AST; currentAST.child = variableLengthParameterDeclaration_AST!=null &&variableLengthParameterDeclaration_AST.getFirstChild()!=null ?
public final void lambdaExpression() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST lambdaExpression_AST = null; lambdaParameters(); astFactory.addASTChild(currentAST, returnAST); AST tmp179_AST = null; tmp179_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp179_AST); match(LAMBDA); lambdaBody(); astFactory.addASTChild(currentAST, returnAST); lambdaExpression_AST = (AST)currentAST.root; returnAST = lambdaExpression_AST; }
public final void stateField() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST stateField_AST = null; try { // for error handling path(); astFactory.addASTChild(currentAST, returnAST); stateField_AST = (AST)currentAST.root; } catch (RecognitionException ex) { reportError(ex); recover(ex,_tokenSet_6); } returnAST = stateField_AST; }
public final void forEachDeclarator() throws RecognitionException, TokenStreamException { ASTPair currentAST = new ASTPair(); AST forEachDeclarator_AST = null; AST m_AST = null; t_AST = (AST)returnAST; id = LT(1); id_AST = astFactory.create(id); match(IDENT); declaratorBrackets(t_AST); if ( inputState.guessing==0 ) { forEachDeclarator_AST = (AST)currentAST.root; forEachDeclarator_AST = (AST)astFactory.make( (new ASTArray(4)).add(astFactory.create(VARIABLE_DEF,"VARIABLE_DEF")).add(m_AST).add((AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(TYPE,"TYPE")).add(d_AST))).add(id_AST)); currentAST.root = forEachDeclarator_AST; currentAST.child = forEachDeclarator_AST!=null &&forEachDeclarator_AST.getFirstChild()!=null ?
public final void identifier() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST identifier_AST = null; try { // for error handling AST tmp37_AST = null; tmp37_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp37_AST); match(IDENT); identifier_AST = (AST)currentAST.root; } catch (RecognitionException ex) { identifier_AST = handleIdentifierError(LT(1),ex); } returnAST = identifier_AST; }
public final void expression() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST expression_AST = null; try { // for error handling logicalOrExpression(); astFactory.addASTChild(currentAST, returnAST); expression_AST = (AST)currentAST.root; } catch (RecognitionException ex) { reportError(ex); recover(ex,_tokenSet_27); } returnAST = expression_AST; }