returnAST = sequenceType_AST; } finally { traceOut("sequenceType");
} } sequenceType_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;
	public final void sequenceType() throws RecognitionException, TokenStreamException {				traceIn("sequenceType");		try { // debugging			returnAST = null;			ASTPair currentAST = new ASTPair();			org.exist.xquery.parser.XQueryAST sequenceType_AST = null;						boolean synPredMatched48 = false;			if (((LA(1)==LITERAL_empty))) {				int _m48 = mark();				synPredMatched48 = true;				inputState.guessing++;				try {					{					match(LITERAL_empty);					match(LPAREN);					}				}				catch (RecognitionException pe) {					synPredMatched48 = false;				}				rewind(_m48);				inputState.guessing--;			}			if ( synPredMatched48 ) {				org.exist.xquery.parser.XQueryAST tmp155_AST = null;				tmp155_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));				astFactory.makeASTRoot(currentAST, tmp155_AST);				match(LITERAL_empty);				match(LPAREN);				match(RPAREN);				sequenceType_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			}			else if ((_tokenSet_3.member(LA(1)))) {				itemType();				astFactory.addASTChild(currentAST, returnAST);				{				switch ( LA(1)) {				case QUESTION:				case STAR:				case PLUS:				{					occurrenceIndicator();					astFactory.addASTChild(currentAST, returnAST);					break;				}				case RPAREN:				case LCURLY:				case LITERAL_at:				case COMMA:				case LITERAL_in:				case COLON:				{					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;		} finally { // debugging			traceOut("sequenceType");		}	}