ASTPair currentAST = new ASTPair(); AST declaration_AST = null; AST m_AST = null; currentAST.child = declaration_AST!=null &&declaration_AST.getFirstChild()!=null ? declaration_AST.getFirstChild() : declaration_AST; currentAST.advanceChildToEnd();
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; }
@Override public void matchOptionalFrom() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST optionalFrom_AST = null; if ( LA( 1 ) == FROM ) { if ( LA( 2 ) != DOT ) { match( FROM ); optionalFrom_AST = (AST) currentAST.root; returnAST = optionalFrom_AST; } } }
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; }
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 hintIdentifier() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST hintIdentifier_AST = null; Token n = null; AST n_AST = null; n = LT(1); n_AST = astFactory.create(n); astFactory.addASTChild(currentAST, n_AST); match(StringLiteral); if ( inputState.guessing==0 ) { hintIdentifier_AST = (AST)currentAST.root; hintIdentifier_AST =(AST)astFactory.create(HINT,n.getText(),"org.apache.geode.cache.query.internal.parse.ASTHintIdentifier") ; currentAST.root = hintIdentifier_AST; currentAST.child = hintIdentifier_AST!=null &&hintIdentifier_AST.getFirstChild()!=null ? hintIdentifier_AST.getFirstChild() : hintIdentifier_AST; currentAST.advanceChildToEnd(); } hintIdentifier_AST = (AST)currentAST.root; returnAST = hintIdentifier_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; }
ASTPair currentAST = new ASTPair(); AST pathAsIdent_AST = null; currentAST.child = pathAsIdent_AST!=null &&pathAsIdent_AST.getFirstChild()!=null ? pathAsIdent_AST.getFirstChild() : pathAsIdent_AST; currentAST.advanceChildToEnd(); pathAsIdent_AST = (AST)currentAST.root;
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 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 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 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 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; }
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; }
public final void logicalExpression() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST logicalExpression_AST = null; try { // for error handling expression(); astFactory.addASTChild(currentAST, returnAST); logicalExpression_AST = (AST)currentAST.root; } catch (RecognitionException ex) { reportError(ex); recover(ex,_tokenSet_25); } returnAST = logicalExpression_AST; }
public final void annotations() throws RecognitionException, TokenStreamException { ASTPair currentAST = new ASTPair(); AST annotations_AST = null; currentAST.child = annotations_AST!=null &&annotations_AST.getFirstChild()!=null ? annotations_AST.getFirstChild() : annotations_AST; currentAST.advanceChildToEnd();
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; }
ASTPair currentAST = new ASTPair(); AST aliasRef_AST = null; AST i_AST = null; currentAST.child = aliasRef_AST!=null &&aliasRef_AST.getFirstChild()!=null ? aliasRef_AST.getFirstChild() : aliasRef_AST; currentAST.advanceChildToEnd();