synPredMatched310 = false;
synPredMatched320 = false;
	public final String  qName() throws RecognitionException, TokenStreamException {		String name;				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST qName_AST = null;		org.exist.xquery.parser.XQueryAST nc1_AST = null;					name= null;			String name2;						boolean synPredMatched310 = false;		if (((_tokenSet_1.member(LA(1))))) {			int _m310 = mark();			synPredMatched310 = true;			inputState.guessing++;			try {				{				ncnameOrKeyword();				match(COLON);				ncnameOrKeyword();				}			}			catch (RecognitionException pe) {				synPredMatched310 = false;			}			rewind(_m310);			inputState.guessing--;		}		if ( synPredMatched310 ) {			name=ncnameOrKeyword();			nc1_AST = (org.exist.xquery.parser.XQueryAST)returnAST;			astFactory.addASTChild(currentAST, returnAST);			org.exist.xquery.parser.XQueryAST tmp116_AST = null;			tmp116_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp116_AST);			match(COLON);			name2=ncnameOrKeyword();			astFactory.addASTChild(currentAST, returnAST);			if ( inputState.guessing==0 ) {				qName_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;										name= name + ':' + name2;						qName_AST.copyLexInfo(nc1_AST);								}			qName_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		}		else if ((_tokenSet_1.member(LA(1)))) {			name=ncnameOrKeyword();			astFactory.addASTChild(currentAST, returnAST);			qName_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		}		else {			throw new NoViableAltException(LT(1), getFilename());		}				returnAST = qName_AST;		return name;	}