currentAST.child = declaration_AST!=null &&declaration_AST.getFirstChild()!=null ? declaration_AST.getFirstChild() : declaration_AST; currentAST.advanceChildToEnd();
public final void annotationExpression() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST annotationExpression_AST = null; conditionalExpression(); astFactory.addASTChild(currentAST, returnAST); if ( inputState.guessing==0 ) { annotationExpression_AST = (AST)currentAST.root; annotationExpression_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(EXPR,"EXPR")).add(annotationExpression_AST)); currentAST.root = annotationExpression_AST; currentAST.child = annotationExpression_AST!=null &&annotationExpression_AST.getFirstChild()!=null ? annotationExpression_AST.getFirstChild() : annotationExpression_AST; currentAST.advanceChildToEnd(); } annotationExpression_AST = (AST)currentAST.root; returnAST = annotationExpression_AST; }
currentAST.child = pathAsIdent_AST!=null &&pathAsIdent_AST.getFirstChild()!=null ? pathAsIdent_AST.getFirstChild() : pathAsIdent_AST; currentAST.advanceChildToEnd(); pathAsIdent_AST = (AST)currentAST.root;
public final void subQuery() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST subQuery_AST = null; try { // for error handling queryRule(); astFactory.addASTChild(currentAST, returnAST); subQuery_AST = (AST)currentAST.root; subQuery_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(QUERY,"query")).add(subQuery_AST)); currentAST.root = subQuery_AST; currentAST.child = subQuery_AST!=null &&subQuery_AST.getFirstChild()!=null ? subQuery_AST.getFirstChild() : subQuery_AST; currentAST.advanceChildToEnd(); subQuery_AST = (AST)currentAST.root; } catch (RecognitionException ex) { reportError(ex); recover(ex,_tokenSet_44); } returnAST = subQuery_AST; }
public final void selectStatement() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST selectStatement_AST = null; try { // for error handling queryRule(); astFactory.addASTChild(currentAST, returnAST); selectStatement_AST = (AST)currentAST.root; selectStatement_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(QUERY,"query")).add(selectStatement_AST)); currentAST.root = selectStatement_AST; currentAST.child = selectStatement_AST!=null &&selectStatement_AST.getFirstChild()!=null ? selectStatement_AST.getFirstChild() : selectStatement_AST; currentAST.advanceChildToEnd(); selectStatement_AST = (AST)currentAST.root; } catch (RecognitionException ex) { reportError(ex); recover(ex,_tokenSet_1); } returnAST = selectStatement_AST; }
public final void inList() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST inList_AST = null; AST x_AST = null; try { // for error handling compoundExpr(); x_AST = (AST)returnAST; astFactory.addASTChild(currentAST, returnAST); inList_AST = (AST)currentAST.root; inList_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(IN_LIST,"inList")).add(inList_AST)); currentAST.root = inList_AST; currentAST.child = inList_AST!=null &&inList_AST.getFirstChild()!=null ? inList_AST.getFirstChild() : inList_AST; currentAST.advanceChildToEnd(); inList_AST = (AST)currentAST.root; } catch (RecognitionException ex) { reportError(ex); recover(ex,_tokenSet_34); } returnAST = inList_AST; }
currentAST.child = annotations_AST!=null &&annotations_AST.getFirstChild()!=null ? annotations_AST.getFirstChild() : annotations_AST; currentAST.advanceChildToEnd();
currentAST.child = aliasRef_AST!=null &&aliasRef_AST.getFirstChild()!=null ? aliasRef_AST.getFirstChild() : aliasRef_AST; currentAST.advanceChildToEnd();
public final void argList() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST argList_AST = null; { if (((_tokenSet_12.member(LA(1))))&&(LA(1)!=RPAREN)) { expressionList(); astFactory.addASTChild(currentAST, returnAST); } else if ((LA(1)==RPAREN)) { if ( inputState.guessing==0 ) { argList_AST = (AST)currentAST.root; argList_AST = astFactory.create(ELIST,"ELIST"); currentAST.root = argList_AST; currentAST.child = argList_AST!=null &&argList_AST.getFirstChild()!=null ? argList_AST.getFirstChild() : argList_AST; currentAST.advanceChildToEnd(); } } else { throw new NoViableAltException(LT(1), getFilename()); } } argList_AST = (AST)currentAST.root; returnAST = argList_AST; }
currentAST.child = inClassDeclaration_AST!=null &&inClassDeclaration_AST.getFirstChild()!=null ? inClassDeclaration_AST.getFirstChild() : inClassDeclaration_AST; currentAST.advanceChildToEnd();
public final void forEachClause() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST forEachClause_AST = null; forEachDeclarator(); astFactory.addASTChild(currentAST, returnAST); AST tmp163_AST = null; tmp163_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp163_AST); match(COLON); expression(); astFactory.addASTChild(currentAST, returnAST); if ( inputState.guessing==0 ) { forEachClause_AST = (AST)currentAST.root; forEachClause_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(FOR_EACH_CLAUSE,"FOR_EACH_CLAUSE")).add(forEachClause_AST)); currentAST.root = forEachClause_AST; currentAST.child = forEachClause_AST!=null &&forEachClause_AST.getFirstChild()!=null ? forEachClause_AST.getFirstChild() : forEachClause_AST; currentAST.advanceChildToEnd(); } forEachClause_AST = (AST)currentAST.root; returnAST = forEachClause_AST; }
currentAST.child = annotationMemberValuePair_AST!=null &&annotationMemberValuePair_AST.getFirstChild()!=null ? annotationMemberValuePair_AST.getFirstChild() : annotationMemberValuePair_AST; currentAST.advanceChildToEnd();
currentAST.child = caseSList_AST!=null &&caseSList_AST.getFirstChild()!=null ? caseSList_AST.getFirstChild() : caseSList_AST; currentAST.advanceChildToEnd();
currentAST.child = inCollectionDeclaration_AST!=null &&inCollectionDeclaration_AST.getFirstChild()!=null ? inCollectionDeclaration_AST.getFirstChild() : inCollectionDeclaration_AST; currentAST.advanceChildToEnd();
currentAST.child = inCollectionElementsDeclaration_AST!=null &&inCollectionElementsDeclaration_AST.getFirstChild()!=null ? inCollectionElementsDeclaration_AST.getFirstChild() : inCollectionElementsDeclaration_AST; currentAST.advanceChildToEnd();
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; }
currentAST.child = enumDefinition_AST!=null &&enumDefinition_AST.getFirstChild()!=null ? enumDefinition_AST.getFirstChild() : enumDefinition_AST; currentAST.advanceChildToEnd();
currentAST.child = forEachDeclarator_AST!=null &&forEachDeclarator_AST.getFirstChild()!=null ? forEachDeclarator_AST.getFirstChild() : forEachDeclarator_AST; currentAST.advanceChildToEnd();
currentAST.child = annotationDefinition_AST!=null &&annotationDefinition_AST.getFirstChild()!=null ? annotationDefinition_AST.getFirstChild() : annotationDefinition_AST; currentAST.advanceChildToEnd();
currentAST.child = variableLengthParameterDeclaration_AST!=null &&variableLengthParameterDeclaration_AST.getFirstChild()!=null ? variableLengthParameterDeclaration_AST.getFirstChild() : variableLengthParameterDeclaration_AST; currentAST.advanceChildToEnd();