org.exist.xquery.parser.XQueryAST tmp105_AST = null; tmp105_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp105_AST);
org.exist.xquery.parser.XQueryAST tmp106_AST = null; tmp106_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp106_AST);
	public final void moduleImport() throws RecognitionException, TokenStreamException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST moduleImport_AST = null;		Token  i = null;		org.exist.xquery.parser.XQueryAST i_AST = null;				i = LT(1);		i_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(i);		match(LITERAL_import);		match(LITERAL_module);		{		switch ( LA(1)) {		case LITERAL_namespace:		{			moduleNamespace();			astFactory.addASTChild(currentAST, returnAST);			break;		}		case STRING_LITERAL:		{			break;		}		default:		{			throw new NoViableAltException(LT(1), getFilename());		}		}		}		org.exist.xquery.parser.XQueryAST tmp105_AST = null;		tmp105_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));		astFactory.addASTChild(currentAST, tmp105_AST);		match(STRING_LITERAL);		{		switch ( LA(1)) {		case LITERAL_at:		{			match(LITERAL_at);			org.exist.xquery.parser.XQueryAST tmp107_AST = null;			tmp107_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp107_AST);			match(STRING_LITERAL);			break;		}		case SEMICOLON:		{			break;		}		default:		{			throw new NoViableAltException(LT(1), getFilename());		}		}		}		if ( inputState.guessing==0 ) {			moduleImport_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;								moduleImport_AST = (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(MODULE_IMPORT,"module")).add(moduleImport_AST));					moduleImport_AST.copyLexInfo(i_AST);							currentAST.root = moduleImport_AST;			currentAST.child = moduleImport_AST!=null &&moduleImport_AST.getFirstChild()!=null ?				moduleImport_AST.getFirstChild() : moduleImport_AST;			currentAST.advanceChildToEnd();		}		moduleImport_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		returnAST = moduleImport_AST;	}