if ( synPredMatched178 ) { kindTest(); astFactory.addASTChild(currentAST, returnAST); nodeTest_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else if ((_tokenSet_10.member(LA(1)))) { nameTest(); astFactory.addASTChild(currentAST, returnAST); nodeTest_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else { throw new NoViableAltException(LT(1), getFilename()); }  returnAST = nodeTest_AST;
	public final void nodeTest() throws RecognitionException, TokenStreamException {				traceIn("nodeTest");		try { // debugging			returnAST = null;			ASTPair currentAST = new ASTPair();			org.exist.xquery.parser.XQueryAST nodeTest_AST = null;						boolean synPredMatched178 = false;			if (((_tokenSet_4.member(LA(1))))) {				int _m178 = mark();				synPredMatched178 = true;				inputState.guessing++;				try {					{					matchNot(EOF);					match(LPAREN);					}				}				catch (RecognitionException pe) {					synPredMatched178 = false;				}				rewind(_m178);				inputState.guessing--;			}			if ( synPredMatched178 ) {				kindTest();				astFactory.addASTChild(currentAST, returnAST);				nodeTest_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			}			else if ((_tokenSet_10.member(LA(1)))) {				nameTest();				astFactory.addASTChild(currentAST, returnAST);				nodeTest_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			}			else {				throw new NoViableAltException(LT(1), getFilename());			}						returnAST = nodeTest_AST;		} finally { // debugging			traceOut("nodeTest");		}	}