org.exist.xquery.parser.XQueryAST tmp191_AST = null; tmp191_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp191_AST);
org.exist.xquery.parser.XQueryAST tmp195_AST = null; tmp195_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp195_AST);
	public final void orderModifier() throws RecognitionException, TokenStreamException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST orderModifier_AST = null;				{		switch ( LA(1)) {		case LITERAL_ascending:		{			org.exist.xquery.parser.XQueryAST tmp186_AST = null;			tmp186_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp186_AST);			match(LITERAL_ascending);			break;		}		case LITERAL_descending:		{			org.exist.xquery.parser.XQueryAST tmp187_AST = null;			tmp187_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp187_AST);			match(LITERAL_descending);			break;		}		case LITERAL_collation:		case LITERAL_empty:		case COMMA:		case LITERAL_return:		{			break;		}		default:		{			throw new NoViableAltException(LT(1), getFilename());		}		}		}		{		switch ( LA(1)) {		case LITERAL_empty:		{			org.exist.xquery.parser.XQueryAST tmp188_AST = null;			tmp188_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp188_AST);			match(LITERAL_empty);			{			switch ( LA(1)) {			case LITERAL_greatest:			{				org.exist.xquery.parser.XQueryAST tmp189_AST = null;				tmp189_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));				astFactory.addASTChild(currentAST, tmp189_AST);				match(LITERAL_greatest);				break;			}			case LITERAL_least:			{				org.exist.xquery.parser.XQueryAST tmp190_AST = null;				tmp190_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));				astFactory.addASTChild(currentAST, tmp190_AST);				match(LITERAL_least);				break;			}			default:			{				throw new NoViableAltException(LT(1), getFilename());			}			}			}			break;		}		case LITERAL_collation:		case COMMA:		case LITERAL_return:		{			break;		}		default:		{			throw new NoViableAltException(LT(1), getFilename());		}		}		}		{		switch ( LA(1)) {		case LITERAL_collation:		{			org.exist.xquery.parser.XQueryAST tmp191_AST = null;			tmp191_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp191_AST);			match(LITERAL_collation);			org.exist.xquery.parser.XQueryAST tmp192_AST = null;			tmp192_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp192_AST);			match(STRING_LITERAL);			break;		}		case COMMA:		case LITERAL_return:		{			break;		}		default:		{			throw new NoViableAltException(LT(1), getFilename());		}		}		}		orderModifier_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		returnAST = orderModifier_AST;	}