AST tmp116_AST = null; tmp116_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp116_AST); match(LITERAL_declare);
	public final void namespaceDecl() throws RecognitionException, TokenStreamException {				returnAST = null;		ASTPair currentAST = new ASTPair();		AST namespaceDecl_AST = null;		Token  prefix = null;		AST prefix_AST = null;		Token  uri = null;		AST uri_AST = null;				AST tmp116_AST = null;		tmp116_AST = astFactory.create(LT(1));		astFactory.addASTChild(currentAST, tmp116_AST);		match(LITERAL_declare);		AST tmp117_AST = null;		tmp117_AST = astFactory.create(LT(1));		astFactory.addASTChild(currentAST, tmp117_AST);		match(LITERAL_namespace);		prefix = LT(1);		prefix_AST = astFactory.create(prefix);		astFactory.addASTChild(currentAST, prefix_AST);		match(NCNAME);		match(EQ);		uri = LT(1);		uri_AST = astFactory.create(uri);		astFactory.addASTChild(currentAST, uri_AST);		match(STRING_LITERAL);		if ( inputState.guessing==0 ) {			namespaceDecl_AST = (AST)currentAST.root;								namespaceDecl_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(NAMESPACE_DECL,prefix.getText())).add(uri_AST));							currentAST.root = namespaceDecl_AST;			currentAST.child = namespaceDecl_AST!=null &&namespaceDecl_AST.getFirstChild()!=null ?				namespaceDecl_AST.getFirstChild() : namespaceDecl_AST;			currentAST.advanceChildToEnd();		}		namespaceDecl_AST = (AST)currentAST.root;		returnAST = namespaceDecl_AST;	}