int _m70 = mark(); synPredMatched70 = true;
int _m71 = mark(); synPredMatched71 = true;
	public final void itemType() throws RecognitionException, TokenStreamException, XPathException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST itemType_AST = null;				boolean synPredMatched70 = false;		if (((LA(1)==LITERAL_item))) {			int _m70 = mark();			synPredMatched70 = true;			inputState.guessing++;			try {				{				match(LITERAL_item);				match(LPAREN);				}			}			catch (RecognitionException pe) {				synPredMatched70 = false;			}			rewind(_m70);			inputState.guessing--;		}		if ( synPredMatched70 ) {			org.exist.xquery.parser.XQueryAST tmp103_AST = null;			tmp103_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.makeASTRoot(currentAST, tmp103_AST);			match(LITERAL_item);			match(LPAREN);			match(RPAREN);			itemType_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		}		else {			boolean synPredMatched72 = false;			if (((_tokenSet_3.member(LA(1))))) {				int _m72 = mark();				synPredMatched72 = true;				inputState.guessing++;				try {					{					matchNot(EOF);					match(LPAREN);					}				}				catch (RecognitionException pe) {					synPredMatched72 = false;				}				rewind(_m72);				inputState.guessing--;			}			if ( synPredMatched72 ) {				kindTest();				astFactory.addASTChild(currentAST, returnAST);				itemType_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			}			else if ((_tokenSet_1.member(LA(1)))) {				atomicType();				astFactory.addASTChild(currentAST, returnAST);				itemType_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			}			else {				throw new NoViableAltException(LT(1), getFilename());			}			}			returnAST = itemType_AST;		}