match(63);
match(64);
	public final void setter() throws RecognitionException, TokenStreamException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST setter_AST = null;		Token  defc = null;		org.exist.xquery.parser.XQueryAST defc_AST = null;		Token  defu = null;		org.exist.xquery.parser.XQueryAST defu_AST = null;		Token  deff = null;		org.exist.xquery.parser.XQueryAST deff_AST = null;				{		boolean synPredMatched38 = false;		if (((LA(1)==LITERAL_declare))) {			int _m38 = mark();			synPredMatched38 = true;			inputState.guessing++;			try {				{				match(LITERAL_declare);				match(LITERAL_default);				}			}			catch (RecognitionException pe) {				synPredMatched38 = false;			}			rewind(_m38);			inputState.guessing--;		}		if ( synPredMatched38 ) {			match(LITERAL_declare);			match(LITERAL_default);			{			switch ( LA(1)) {			case LITERAL_collation:			{				match(LITERAL_collation);				defc = LT(1);				defc_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(defc);				astFactory.addASTChild(currentAST, defc_AST);				match(STRING_LITERAL);				if ( inputState.guessing==0 ) {					setter_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;					setter_AST = (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(DEF_COLLATION_DECL,"defaultCollationDecl")).add(defc_AST));					currentAST.root = setter_AST;					currentAST.child = setter_AST!=null &&setter_AST.getFirstChild()!=null ?						setter_AST.getFirstChild() : setter_AST;					currentAST.advanceChildToEnd();				}				break;			}			case LITERAL_element:			{				match(LITERAL_element);				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 ) {					setter_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;					setter_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 = setter_AST;					currentAST.child = setter_AST!=null &&setter_AST.getFirstChild()!=null ?						setter_AST.getFirstChild() : setter_AST;					currentAST.advanceChildToEnd();				}				break;			}			case LITERAL_function:			{				match(LITERAL_function);				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 ) {					setter_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;					setter_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 = setter_AST;					currentAST.child = setter_AST!=null &&setter_AST.getFirstChild()!=null ?						setter_AST.getFirstChild() : setter_AST;					currentAST.advanceChildToEnd();				}				break;			}			case LITERAL_order:			{				org.exist.xquery.parser.XQueryAST tmp68_AST = null;				tmp68_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));				astFactory.makeASTRoot(currentAST, tmp68_AST);				match(LITERAL_order);				match(LITERAL_empty);				{				switch ( LA(1)) {				case LITERAL_greatest:				{					org.exist.xquery.parser.XQueryAST tmp70_AST = null;					tmp70_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));					astFactory.addASTChild(currentAST, tmp70_AST);					match(LITERAL_greatest);					break;				}				case LITERAL_least:				{					org.exist.xquery.parser.XQueryAST tmp71_AST = null;					tmp71_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));					astFactory.addASTChild(currentAST, tmp71_AST);					match(LITERAL_least);					break;				}				default:				{					throw new NoViableAltException(LT(1), getFilename());				}				}				}				break;			}			default:			{				throw new NoViableAltException(LT(1), getFilename());			}			}			}		}		else {			boolean synPredMatched42 = false;			if (((LA(1)==LITERAL_declare))) {				int _m42 = mark();				synPredMatched42 = true;				inputState.guessing++;				try {					{					match(LITERAL_declare);					match(63);					}				}				catch (RecognitionException pe) {					synPredMatched42 = false;				}				rewind(_m42);				inputState.guessing--;			}			if ( synPredMatched42 ) {				match(LITERAL_declare);				org.exist.xquery.parser.XQueryAST tmp73_AST = null;				tmp73_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));				astFactory.makeASTRoot(currentAST, tmp73_AST);				match(63);				{				switch ( LA(1)) {				case LITERAL_preserve:				{					org.exist.xquery.parser.XQueryAST tmp74_AST = null;					tmp74_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));					astFactory.addASTChild(currentAST, tmp74_AST);					match(LITERAL_preserve);					break;				}				case LITERAL_strip:				{					org.exist.xquery.parser.XQueryAST tmp75_AST = null;					tmp75_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));					astFactory.addASTChild(currentAST, tmp75_AST);					match(LITERAL_strip);					break;				}				default:				{					throw new NoViableAltException(LT(1), getFilename());				}				}				}			}			else {				boolean synPredMatched45 = false;				if (((LA(1)==LITERAL_declare))) {					int _m45 = mark();					synPredMatched45 = true;					inputState.guessing++;					try {						{						match(LITERAL_declare);						match(66);						}					}					catch (RecognitionException pe) {						synPredMatched45 = false;					}					rewind(_m45);					inputState.guessing--;				}				if ( synPredMatched45 ) {					match(LITERAL_declare);					org.exist.xquery.parser.XQueryAST tmp77_AST = null;					tmp77_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));					astFactory.makeASTRoot(currentAST, tmp77_AST);					match(66);					org.exist.xquery.parser.XQueryAST tmp78_AST = null;					tmp78_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));					astFactory.addASTChild(currentAST, tmp78_AST);					match(STRING_LITERAL);				}				else {					boolean synPredMatched47 = false;					if (((LA(1)==LITERAL_declare))) {						int _m47 = mark();						synPredMatched47 = true;						inputState.guessing++;						try {							{							match(LITERAL_declare);							match(LITERAL_ordering);							}						}						catch (RecognitionException pe) {							synPredMatched47 = false;						}						rewind(_m47);						inputState.guessing--;					}					if ( synPredMatched47 ) {						match(LITERAL_declare);						org.exist.xquery.parser.XQueryAST tmp80_AST = null;						tmp80_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));						astFactory.makeASTRoot(currentAST, tmp80_AST);						match(LITERAL_ordering);						{						switch ( LA(1)) {						case LITERAL_ordered:						{							org.exist.xquery.parser.XQueryAST tmp81_AST = null;							tmp81_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));							astFactory.addASTChild(currentAST, tmp81_AST);							match(LITERAL_ordered);							break;						}						case LITERAL_unordered:						{							org.exist.xquery.parser.XQueryAST tmp82_AST = null;							tmp82_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));							astFactory.addASTChild(currentAST, tmp82_AST);							match(LITERAL_unordered);							break;						}						default:						{							throw new NoViableAltException(LT(1), getFilename());						}						}						}					}					else {						boolean synPredMatched50 = false;						if (((LA(1)==LITERAL_declare))) {							int _m50 = mark();							synPredMatched50 = true;							inputState.guessing++;							try {								{								match(LITERAL_declare);								match(LITERAL_construction);								}							}							catch (RecognitionException pe) {								synPredMatched50 = false;							}							rewind(_m50);							inputState.guessing--;						}						if ( synPredMatched50 ) {							match(LITERAL_declare);							org.exist.xquery.parser.XQueryAST tmp84_AST = null;							tmp84_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));							astFactory.makeASTRoot(currentAST, tmp84_AST);							match(LITERAL_construction);							{							switch ( LA(1)) {							case LITERAL_preserve:							{								org.exist.xquery.parser.XQueryAST tmp85_AST = null;								tmp85_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));								astFactory.addASTChild(currentAST, tmp85_AST);								match(LITERAL_preserve);								break;							}							case LITERAL_strip:							{								org.exist.xquery.parser.XQueryAST tmp86_AST = null;								tmp86_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));								astFactory.addASTChild(currentAST, tmp86_AST);								match(LITERAL_strip);								break;							}							default:							{								throw new NoViableAltException(LT(1), getFilename());							}							}							}						}						else {							boolean synPredMatched53 = false;							if (((LA(1)==LITERAL_declare))) {								int _m53 = mark();								synPredMatched53 = true;								inputState.guessing++;								try {									{									match(LITERAL_declare);									match(67);									}								}								catch (RecognitionException pe) {									synPredMatched53 = false;								}								rewind(_m53);								inputState.guessing--;							}							if ( synPredMatched53 ) {								match(LITERAL_declare);								org.exist.xquery.parser.XQueryAST tmp88_AST = null;								tmp88_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));								astFactory.makeASTRoot(currentAST, tmp88_AST);								match(67);								preserveMode();								astFactory.addASTChild(currentAST, returnAST);								match(COMMA);								inheritMode();								astFactory.addASTChild(currentAST, returnAST);							}							else {								throw new NoViableAltException(LT(1), getFilename());							}							}}}}}							}							setter_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;							returnAST = setter_AST;						}