traceIn("moduleImport"); try { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST moduleImport_AST = null;  org.exist.xquery.parser.XQueryAST tmp141_AST = null; tmp141_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp141_AST); match(LITERAL_import); match(LITERAL_module); { switch ( LA(1)) { case LITERAL_namespace: { match(LITERAL_namespace); org.exist.xquery.parser.XQueryAST tmp144_AST = null; tmp144_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp144_AST); match(NCNAME); match(EQ); break; } case STRING_LITERAL: { break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } }
returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST moduleImport_AST = null;  org.exist.xquery.parser.XQueryAST tmp139_AST = null; tmp139_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp139_AST); match(LITERAL_import); match(LITERAL_module); { switch ( LA(1)) { case LITERAL_namespace: { match(LITERAL_namespace); org.exist.xquery.parser.XQueryAST tmp142_AST = null; tmp142_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp142_AST); match(NCNAME); match(EQ); break; } case STRING_LITERAL: { break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } org.exist.xquery.parser.XQueryAST tmp144_AST = null; tmp144_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp144_AST); match(STRING_LITERAL); { switch ( LA(1)) { case LITERAL_at: { match(LITERAL_at);
	public final void moduleImport() throws RecognitionException, TokenStreamException {				traceIn("moduleImport");		try { // debugging			returnAST = null;			ASTPair currentAST = new ASTPair();			org.exist.xquery.parser.XQueryAST moduleImport_AST = null;						org.exist.xquery.parser.XQueryAST tmp141_AST = null;			tmp141_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.makeASTRoot(currentAST, tmp141_AST);			match(LITERAL_import);			match(LITERAL_module);			{			switch ( LA(1)) {			case LITERAL_namespace:			{				match(LITERAL_namespace);				org.exist.xquery.parser.XQueryAST tmp144_AST = null;				tmp144_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));				astFactory.addASTChild(currentAST, tmp144_AST);				match(NCNAME);				match(EQ);				break;			}			case STRING_LITERAL:			{				break;			}			default:			{				throw new NoViableAltException(LT(1), getFilename());			}			}			}			org.exist.xquery.parser.XQueryAST tmp146_AST = null;			tmp146_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp146_AST);			match(STRING_LITERAL);			{			switch ( LA(1)) {			case LITERAL_at:			{				match(LITERAL_at);				org.exist.xquery.parser.XQueryAST tmp148_AST = null;				tmp148_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));				astFactory.addASTChild(currentAST, tmp148_AST);				match(STRING_LITERAL);				break;			}			case SEMICOLON:			{				break;			}			default:			{				throw new NoViableAltException(LT(1), getFilename());			}			}			}			moduleImport_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			returnAST = moduleImport_AST;		} finally { // debugging			traceOut("moduleImport");		}	}