traceIn("mainModule"); try { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST mainModule_AST = null;  prolog(); astFactory.addASTChild(currentAST, returnAST); queryBody(); astFactory.addASTChild(currentAST, returnAST); mainModule_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; returnAST = mainModule_AST; } finally { traceOut("mainModule"); }
returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST mainModule_AST = null;  prolog(); astFactory.addASTChild(currentAST, returnAST); queryBody(); astFactory.addASTChild(currentAST, returnAST); mainModule_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; returnAST = mainModule_AST;
	public final void mainModule() throws RecognitionException, TokenStreamException {				traceIn("mainModule");		try { // debugging			returnAST = null;			ASTPair currentAST = new ASTPair();			org.exist.xquery.parser.XQueryAST mainModule_AST = null;						prolog();			astFactory.addASTChild(currentAST, returnAST);			queryBody();			astFactory.addASTChild(currentAST, returnAST);			mainModule_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			returnAST = mainModule_AST;		} finally { // debugging			traceOut("mainModule");		}	}