org.exist.xquery.parser.XQueryAST tmp92_AST = null; tmp92_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp92_AST);
org.exist.xquery.parser.XQueryAST tmp93_AST = null; tmp93_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp93_AST);
	public final void optionDecl() throws RecognitionException, TokenStreamException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST optionDecl_AST = null;		Token  decl = null;		org.exist.xquery.parser.XQueryAST decl_AST = null;		Token  opt = null;		org.exist.xquery.parser.XQueryAST opt_AST = null;		String qn = null;				decl = LT(1);		decl_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(decl);		match(LITERAL_declare);		opt = LT(1);		opt_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(opt);		match(LITERAL_option);		qn=qName();		org.exist.xquery.parser.XQueryAST tmp92_AST = null;		tmp92_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));		astFactory.addASTChild(currentAST, tmp92_AST);		match(STRING_LITERAL);		if ( inputState.guessing==0 ) {			optionDecl_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;								optionDecl_AST = (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(OPTION,qn)).add(optionDecl_AST));					optionDecl_AST.copyLexInfo(decl_AST);							currentAST.root = optionDecl_AST;			currentAST.child = optionDecl_AST!=null &&optionDecl_AST.getFirstChild()!=null ?				optionDecl_AST.getFirstChild() : optionDecl_AST;			currentAST.advanceChildToEnd();		}		optionDecl_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		returnAST = optionDecl_AST;	}