if ( synPredMatched182 ) { wildcard(); astFactory.addASTChild(currentAST, returnAST);
catch (RecognitionException pe) { synPredMatched182 = false; } rewind(_m182); inputState.guessing--; } if ( synPredMatched182 ) { wildcard(); astFactory.addASTChild(currentAST, returnAST); nameTest_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else if ((_tokenSet_2.member(LA(1)))) { name=qName(); astFactory.addASTChild(currentAST, returnAST); if ( inputState.guessing==0 ) {
	public final void nameTest() throws RecognitionException, TokenStreamException {				traceIn("nameTest");		try { // debugging			returnAST = null;			ASTPair currentAST = new ASTPair();			org.exist.xquery.parser.XQueryAST nameTest_AST = null;			String name= null;						boolean synPredMatched182 = false;			if (((_tokenSet_10.member(LA(1))))) {				int _m182 = mark();				synPredMatched182 = true;				inputState.guessing++;				try {					{					switch ( LA(1)) {					case NCNAME:					{						{						match(NCNAME);						match(COLON);						match(STAR);						}						break;					}					case STAR:					{						match(STAR);						break;					}					default:					{						throw new NoViableAltException(LT(1), getFilename());					}					}					}				}				catch (RecognitionException pe) {					synPredMatched182 = false;				}				rewind(_m182);				inputState.guessing--;			}			if ( synPredMatched182 ) {				wildcard();				astFactory.addASTChild(currentAST, returnAST);				nameTest_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			}			else if ((_tokenSet_2.member(LA(1)))) {				name=qName();				astFactory.addASTChild(currentAST, returnAST);				if ( inputState.guessing==0 ) {					nameTest_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;					nameTest_AST= (org.exist.xquery.parser.XQueryAST)astFactory.create(QNAME,name);					currentAST.root = nameTest_AST;					currentAST.child = nameTest_AST!=null &&nameTest_AST.getFirstChild()!=null ?						nameTest_AST.getFirstChild() : nameTest_AST;					currentAST.advanceChildToEnd();				}				nameTest_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			}			else {				throw new NoViableAltException(LT(1), getFilename());			}						returnAST = nameTest_AST;		} finally { // debugging			traceOut("nameTest");		}	}