org.exist.xquery.parser.XQueryAST tmp98_AST = null; tmp98_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp98_AST);
org.exist.xquery.parser.XQueryAST tmp99_AST = null; tmp99_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp99_AST);
	public final void sequenceType() throws RecognitionException, TokenStreamException, XPathException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST sequenceType_AST = null;				boolean synPredMatched66 = false;		if (((LA(1)==LITERAL_empty))) {			int _m66 = mark();			synPredMatched66 = true;			inputState.guessing++;			try {				{				match(LITERAL_empty);				match(LPAREN);				}			}			catch (RecognitionException pe) {				synPredMatched66 = false;			}			rewind(_m66);			inputState.guessing--;		}		if ( synPredMatched66 ) {			org.exist.xquery.parser.XQueryAST tmp98_AST = null;			tmp98_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.makeASTRoot(currentAST, tmp98_AST);			match(LITERAL_empty);			match(LPAREN);			match(RPAREN);			sequenceType_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		}		else if ((_tokenSet_2.member(LA(1)))) {			itemType();			astFactory.addASTChild(currentAST, returnAST);			{			switch ( LA(1)) {			case QUESTION:			case STAR:			case PLUS:			{				occurrenceIndicator();				astFactory.addASTChild(currentAST, returnAST);				break;			}			case EOF:			case RPAREN:			case LITERAL_default:			case LITERAL_collation:			case LCURLY:			case RCURLY:			case LITERAL_at:			case COMMA:			case LITERAL_empty:			case LITERAL_for:			case LITERAL_let:			case LITERAL_where:			case LITERAL_return:			case LITERAL_in:			case COLON:			case LITERAL_order:			case LITERAL_ascending:			case LITERAL_descending:			case LITERAL_satisfies:			case LITERAL_case:			case LITERAL_else:			case LITERAL_or:			case LITERAL_and:			case RPPAREN:			{				break;			}			default:			{				throw new NoViableAltException(LT(1), getFilename());			}			}			}			sequenceType_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		}		else {			throw new NoViableAltException(LT(1), getFilename());		}				returnAST = sequenceType_AST;	}