match(LITERAL_namespace); org.exist.xquery.parser.XQueryAST tmp59_AST = null; tmp59_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp59_AST); match(NCNAME); match(EQ);
moduleNamespace(); astFactory.addASTChild(currentAST, returnAST);
	public final void moduleImport() throws RecognitionException, TokenStreamException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST moduleImport_AST = null;				org.exist.xquery.parser.XQueryAST tmp56_AST = null;		tmp56_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));		astFactory.makeASTRoot(currentAST, tmp56_AST);		match(LITERAL_import);		match(LITERAL_module);		{		switch ( LA(1)) {		case LITERAL_namespace:		{			match(LITERAL_namespace);			org.exist.xquery.parser.XQueryAST tmp59_AST = null;			tmp59_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp59_AST);			match(NCNAME);			match(EQ);			break;		}		case STRING_LITERAL:		{			break;		}		default:		{			throw new NoViableAltException(LT(1), getFilename());		}		}		}		org.exist.xquery.parser.XQueryAST tmp61_AST = null;		tmp61_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));		astFactory.addASTChild(currentAST, tmp61_AST);		match(STRING_LITERAL);		{		switch ( LA(1)) {		case LITERAL_at:		{			match(LITERAL_at);			org.exist.xquery.parser.XQueryAST tmp63_AST = null;			tmp63_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp63_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;	}