case XQUERY: case VERSION:
case LITERAL_import:
	public final void pathExpr() throws RecognitionException, TokenStreamException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST pathExpr_AST = null;		org.exist.xquery.parser.XQueryAST relPath_AST = null;		org.exist.xquery.parser.XQueryAST relPath2_AST = null;				switch ( LA(1)) {		case LPAREN:		case NCNAME:		case LITERAL_module:		case LITERAL_namespace:		case STRING_LITERAL:		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 DOLLAR:		case LITERAL_preserve:		case LITERAL_strip:		case LITERAL_import:		case LITERAL_at:		case LITERAL_as:		case LITERAL_empty:		case STAR:		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 LT:		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 131:		case 132:		case LITERAL_document:		case SELF:		case XML_COMMENT:		case XML_PI:		case AT:		case PARENT:		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 DOUBLE_LITERAL:		case DECIMAL_LITERAL:		case INTEGER_LITERAL:		case LITERAL_collection:		case LITERAL_preceding:		{			relativePathExpr();			astFactory.addASTChild(currentAST, returnAST);			pathExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			break;		}		case DSLASH:		{			org.exist.xquery.parser.XQueryAST tmp175_AST = null;			tmp175_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp175_AST);			match(DSLASH);			relativePathExpr();			relPath2_AST = (org.exist.xquery.parser.XQueryAST)returnAST;			astFactory.addASTChild(currentAST, returnAST);			if ( inputState.guessing==0 ) {				pathExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;				pathExpr_AST= (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(ABSOLUTE_DSLASH,"AbsoluteSlashSlash")).add(relPath2_AST));				currentAST.root = pathExpr_AST;				currentAST.child = pathExpr_AST!=null &&pathExpr_AST.getFirstChild()!=null ?					pathExpr_AST.getFirstChild() : pathExpr_AST;				currentAST.advanceChildToEnd();			}			pathExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			break;		}		default:			boolean synPredMatched156 = false;			if (((LA(1)==SLASH))) {				int _m156 = mark();				synPredMatched156 = true;				inputState.guessing++;				try {					{					match(SLASH);					relativePathExpr();					}				}				catch (RecognitionException pe) {					synPredMatched156 = false;				}				rewind(_m156);				inputState.guessing--;			}			if ( synPredMatched156 ) {				org.exist.xquery.parser.XQueryAST tmp176_AST = null;				tmp176_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));				astFactory.addASTChild(currentAST, tmp176_AST);				match(SLASH);				relativePathExpr();				relPath_AST = (org.exist.xquery.parser.XQueryAST)returnAST;				astFactory.addASTChild(currentAST, returnAST);				if ( inputState.guessing==0 ) {					pathExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;					pathExpr_AST= (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(ABSOLUTE_SLASH,"AbsoluteSlash")).add(relPath_AST));					currentAST.root = pathExpr_AST;					currentAST.child = pathExpr_AST!=null &&pathExpr_AST.getFirstChild()!=null ?						pathExpr_AST.getFirstChild() : pathExpr_AST;					currentAST.advanceChildToEnd();				}				pathExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			}			else if ((LA(1)==SLASH)) {				org.exist.xquery.parser.XQueryAST tmp177_AST = null;				tmp177_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));				astFactory.addASTChild(currentAST, tmp177_AST);				match(SLASH);				if ( inputState.guessing==0 ) {					pathExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;					pathExpr_AST= (org.exist.xquery.parser.XQueryAST)astFactory.create(ABSOLUTE_SLASH,"AbsoluteSlash");					currentAST.root = pathExpr_AST;					currentAST.child = pathExpr_AST!=null &&pathExpr_AST.getFirstChild()!=null ?						pathExpr_AST.getFirstChild() : pathExpr_AST;					currentAST.advanceChildToEnd();				}				pathExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			}		else {			throw new NoViableAltException(LT(1), getFilename());		}		}		returnAST = pathExpr_AST;	}