org.exist.xquery.parser.XQueryAST tmp173_AST = null; tmp173_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp173_AST);
org.exist.xquery.parser.XQueryAST tmp172_AST = null; tmp172_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp172_AST);
	public final void caseVar() throws RecognitionException, TokenStreamException, XPathException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST caseVar_AST = null;		String varName;				match(DOLLAR);		varName=qName();		org.exist.xquery.parser.XQueryAST tmp173_AST = null;		tmp173_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));		astFactory.addASTChild(currentAST, tmp173_AST);		match(LITERAL_as);		if ( inputState.guessing==0 ) {			caseVar_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			caseVar_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(VARIABLE_BINDING,varName);			currentAST.root = caseVar_AST;			currentAST.child = caseVar_AST!=null &&caseVar_AST.getFirstChild()!=null ?				caseVar_AST.getFirstChild() : caseVar_AST;			currentAST.advanceChildToEnd();		}		caseVar_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		returnAST = caseVar_AST;	}