org.exist.xquery.parser.XQueryAST tmp90_AST = null; tmp90_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp90_AST);
org.exist.xquery.parser.XQueryAST tmp91_AST = null; tmp91_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp91_AST);
	public final void namespaceDecl() throws RecognitionException, TokenStreamException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST namespaceDecl_AST = null;		Token  decl = null;		org.exist.xquery.parser.XQueryAST decl_AST = null;		Token  uri = null;		org.exist.xquery.parser.XQueryAST uri_AST = null;		String prefix = null;				decl = LT(1);		decl_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(decl);		astFactory.addASTChild(currentAST, decl_AST);		match(LITERAL_declare);		org.exist.xquery.parser.XQueryAST tmp90_AST = null;		tmp90_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));		astFactory.addASTChild(currentAST, tmp90_AST);		match(LITERAL_namespace);		prefix=ncnameOrKeyword();		astFactory.addASTChild(currentAST, returnAST);		match(EQ);		uri = LT(1);		uri_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(uri);		astFactory.addASTChild(currentAST, uri_AST);		match(STRING_LITERAL);		if ( inputState.guessing==0 ) {			namespaceDecl_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;								namespaceDecl_AST= (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(NAMESPACE_DECL,prefix)).add(uri_AST));					namespaceDecl_AST.copyLexInfo(decl_AST);							currentAST.root = namespaceDecl_AST;			currentAST.child = namespaceDecl_AST!=null &&namespaceDecl_AST.getFirstChild()!=null ?				namespaceDecl_AST.getFirstChild() : namespaceDecl_AST;			currentAST.advanceChildToEnd();		}		namespaceDecl_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		returnAST = namespaceDecl_AST;	}