traceIn("positionalVar"); try { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST positionalVar_AST = null; String varName;  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_at); match(DOLLAR); varName=qName(); astFactory.addASTChild(currentAST, returnAST); if ( inputState.guessing==0 ) { positionalVar_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; positionalVar_AST= (org.exist.xquery.parser.XQueryAST)astFactory.create(POSITIONAL_VAR,varName); currentAST.root = positionalVar_AST; currentAST.child = positionalVar_AST!=null &&positionalVar_AST.getFirstChild()!=null ? positionalVar_AST.getFirstChild() : positionalVar_AST; currentAST.advanceChildToEnd(); }
returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST positionalVar_AST = null; String varName;  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_at); match(DOLLAR); varName=qName(); astFactory.addASTChild(currentAST, returnAST); if ( inputState.guessing==0 ) {
	public final void positionalVar() throws RecognitionException, TokenStreamException {				traceIn("positionalVar");		try { // debugging			returnAST = null;			ASTPair currentAST = new ASTPair();			org.exist.xquery.parser.XQueryAST positionalVar_AST = null;			String varName;						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_at);			match(DOLLAR);			varName=qName();			astFactory.addASTChild(currentAST, returnAST);			if ( inputState.guessing==0 ) {				positionalVar_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;				positionalVar_AST= (org.exist.xquery.parser.XQueryAST)astFactory.create(POSITIONAL_VAR,varName);				currentAST.root = positionalVar_AST;				currentAST.child = positionalVar_AST!=null &&positionalVar_AST.getFirstChild()!=null ?					positionalVar_AST.getFirstChild() : positionalVar_AST;				currentAST.advanceChildToEnd();			}			positionalVar_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			returnAST = positionalVar_AST;		} finally { // debugging			traceOut("positionalVar");		}	}