org.exist.xquery.parser.XQueryAST tmp128_AST = null; tmp128_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp128_AST);
org.exist.xquery.parser.XQueryAST tmp130_AST = null; tmp130_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp130_AST);
	public final void defaultNamespaceDecl() throws RecognitionException, TokenStreamException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST defaultNamespaceDecl_AST = null;		Token  defu = null;		org.exist.xquery.parser.XQueryAST defu_AST = null;		Token  deff = null;		org.exist.xquery.parser.XQueryAST deff_AST = null;				org.exist.xquery.parser.XQueryAST tmp125_AST = null;		tmp125_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));		astFactory.addASTChild(currentAST, tmp125_AST);		match(LITERAL_declare);		org.exist.xquery.parser.XQueryAST tmp126_AST = null;		tmp126_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));		astFactory.addASTChild(currentAST, tmp126_AST);		match(LITERAL_default);		{		switch ( LA(1)) {		case LITERAL_element:		{			org.exist.xquery.parser.XQueryAST tmp127_AST = null;			tmp127_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp127_AST);			match(LITERAL_element);			org.exist.xquery.parser.XQueryAST tmp128_AST = null;			tmp128_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp128_AST);			match(LITERAL_namespace);			defu = LT(1);			defu_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(defu);			astFactory.addASTChild(currentAST, defu_AST);			match(STRING_LITERAL);			if ( inputState.guessing==0 ) {				defaultNamespaceDecl_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;				defaultNamespaceDecl_AST= (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(DEF_NAMESPACE_DECL,"defaultNamespaceDecl")).add(defu_AST));				currentAST.root = defaultNamespaceDecl_AST;				currentAST.child = defaultNamespaceDecl_AST!=null &&defaultNamespaceDecl_AST.getFirstChild()!=null ?					defaultNamespaceDecl_AST.getFirstChild() : defaultNamespaceDecl_AST;				currentAST.advanceChildToEnd();			}			break;		}		case LITERAL_function:		{			org.exist.xquery.parser.XQueryAST tmp129_AST = null;			tmp129_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp129_AST);			match(LITERAL_function);			org.exist.xquery.parser.XQueryAST tmp130_AST = null;			tmp130_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp130_AST);			match(LITERAL_namespace);			deff = LT(1);			deff_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(deff);			astFactory.addASTChild(currentAST, deff_AST);			match(STRING_LITERAL);			if ( inputState.guessing==0 ) {				defaultNamespaceDecl_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;				defaultNamespaceDecl_AST= (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(DEF_FUNCTION_NS_DECL,"defaultFunctionNSDecl")).add(deff_AST));				currentAST.root = defaultNamespaceDecl_AST;				currentAST.child = defaultNamespaceDecl_AST!=null &&defaultNamespaceDecl_AST.getFirstChild()!=null ?					defaultNamespaceDecl_AST.getFirstChild() : defaultNamespaceDecl_AST;				currentAST.advanceChildToEnd();			}			break;		}		default:		{			throw new NoViableAltException(LT(1), getFilename());		}		}		}		defaultNamespaceDecl_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		returnAST = defaultNamespaceDecl_AST;	}