else if ((_tokenSet_7.member(LA(1)))) {
else if ((_tokenSet_6.member(LA(1)))) {
	public final void stepExpr() throws RecognitionException, TokenStreamException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST stepExpr_AST = null;				boolean synPredMatched164 = false;		if (((_tokenSet_7.member(LA(1))))) {			int _m164 = mark();			synPredMatched164 = true;			inputState.guessing++;			try {				{				{				switch ( LA(1)) {				case LITERAL_text:				{					match(LITERAL_text);					break;				}				case LITERAL_node:				{					match(LITERAL_node);					break;				}				case LITERAL_element:				{					match(LITERAL_element);					break;				}				case LITERAL_attribute:				{					match(LITERAL_attribute);					break;				}				case LITERAL_comment:				{					match(LITERAL_comment);					break;				}				case 131:				{					match(131);					break;				}				case 132:				{					match(132);					break;				}				default:				{					throw new NoViableAltException(LT(1), getFilename());				}				}				}				match(LPAREN);				}			}			catch (RecognitionException pe) {				synPredMatched164 = false;			}			rewind(_m164);			inputState.guessing--;		}		if ( synPredMatched164 ) {			axisStep();			astFactory.addASTChild(currentAST, returnAST);			stepExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		}		else {			boolean synPredMatched167 = false;			if (((_tokenSet_8.member(LA(1))))) {				int _m167 = mark();				synPredMatched167 = true;				inputState.guessing++;				try {					{					{					switch ( LA(1)) {					case LITERAL_element:					{						match(LITERAL_element);						break;					}					case LITERAL_attribute:					{						match(LITERAL_attribute);						break;					}					case LITERAL_text:					{						match(LITERAL_text);						break;					}					case LITERAL_document:					{						match(LITERAL_document);						break;					}					case 131:					{						match(131);						break;					}					case LITERAL_comment:					{						match(LITERAL_comment);						break;					}					default:					{						throw new NoViableAltException(LT(1), getFilename());					}					}					}					match(LCURLY);					}				}				catch (RecognitionException pe) {					synPredMatched167 = false;				}				rewind(_m167);				inputState.guessing--;			}			if ( synPredMatched167 ) {				filterStep();				astFactory.addASTChild(currentAST, returnAST);				stepExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			}			else {				boolean synPredMatched170 = false;				if (((_tokenSet_8.member(LA(1))))) {					int _m170 = mark();					synPredMatched170 = true;					inputState.guessing++;					try {						{						{						switch ( LA(1)) {						case LITERAL_element:						{							match(LITERAL_element);							break;						}						case LITERAL_attribute:						{							match(LITERAL_attribute);							break;						}						case 131:						{							match(131);							break;						}						case LITERAL_namespace:						{							match(LITERAL_namespace);							break;						}						default:						{							throw new NoViableAltException(LT(1), getFilename());						}						}						}						qName();						match(LCURLY);						}					}					catch (RecognitionException pe) {						synPredMatched170 = false;					}					rewind(_m170);					inputState.guessing--;				}				if ( synPredMatched170 ) {					filterStep();					astFactory.addASTChild(currentAST, returnAST);					stepExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;				}				else {					boolean synPredMatched173 = false;					if (((_tokenSet_8.member(LA(1))))) {						int _m173 = mark();						synPredMatched173 = true;						inputState.guessing++;						try {							{							switch ( LA(1)) {							case DOLLAR:							{								match(DOLLAR);								break;							}							case NCNAME:							case LITERAL_module:							case LITERAL_namespace:							case XQUERY:							case VERSION:							case LITERAL_declare:							case LITERAL_default:							case LITERAL_function:							case LITERAL_variable:							case LITERAL_xmlspace:							case LITERAL_element:							case LITERAL_collation:							case LITERAL_preserve:							case LITERAL_strip:							case LITERAL_import:							case LITERAL_at:							case LITERAL_as:							case LITERAL_empty:							case LITERAL_item:							case LITERAL_for:							case LITERAL_let:							case LITERAL_some:							case LITERAL_every:							case LITERAL_if:							case LITERAL_return:							case LITERAL_order:							case LITERAL_by:							case LITERAL_then:							case LITERAL_else:							case LITERAL_or:							case LITERAL_and:							case LITERAL_instance:							case LITERAL_of:							case LITERAL_cast:							case LITERAL_is:							case LITERAL_isnot:							case LITERAL_to:							case LITERAL_div:							case LITERAL_mod:							case LITERAL_union:							case LITERAL_intersect:							case LITERAL_except:							case LITERAL_text:							case LITERAL_node:							case LITERAL_attribute:							case LITERAL_comment:							case 132:							case LITERAL_document:							case LITERAL_child:							case LITERAL_self:							case LITERAL_descendant:							case 144:							case 145:							case LITERAL_following:							case LITERAL_parent:							case LITERAL_ancestor:							case 149:							case 150:							case LITERAL_collection:							case LITERAL_preceding:							{								{								qName();								match(LPAREN);								}								break;							}							case SELF:							{								match(SELF);								break;							}							case LPAREN:							{								match(LPAREN);								break;							}							case STRING_LITERAL:							case DOUBLE_LITERAL:							case DECIMAL_LITERAL:							case INTEGER_LITERAL:							{								literal();								break;							}							case XML_COMMENT:							{								match(XML_COMMENT);								break;							}							case LT:							{								match(LT);								break;							}							case XML_PI:							{								match(XML_PI);								break;							}							default:							{								throw new NoViableAltException(LT(1), getFilename());							}							}							}						}						catch (RecognitionException pe) {							synPredMatched173 = false;						}						rewind(_m173);						inputState.guessing--;					}					if ( synPredMatched173 ) {						filterStep();						astFactory.addASTChild(currentAST, returnAST);						stepExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;					}					else if ((_tokenSet_7.member(LA(1)))) {						axisStep();						astFactory.addASTChild(currentAST, returnAST);						stepExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;					}					else {						throw new NoViableAltException(LT(1), getFilename());					}					}}}					returnAST = stepExpr_AST;				}