match(LITERAL_let); if ( inputState.guessing==0 ) { name= "let"; } reservedKeywords_AST = (AST)currentAST.root; break; } case LITERAL_default:
match(LITERAL_then); if ( inputState.guessing==0 ) { name= "then"; } reservedKeywords_AST = (AST)currentAST.root; break; } case LITERAL_else:
	public final String  reservedKeywords() throws RecognitionException, TokenStreamException {		String name;				returnAST = null;		ASTPair currentAST = new ASTPair();		AST reservedKeywords_AST = null;		name= null;				switch ( LA(1)) {		case LITERAL_div:		{			AST tmp317_AST = null;			tmp317_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp317_AST);			match(LITERAL_div);			if ( inputState.guessing==0 ) {				name= "div";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_mod:		{			AST tmp318_AST = null;			tmp318_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp318_AST);			match(LITERAL_mod);			if ( inputState.guessing==0 ) {				name= "mod";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_text:		{			AST tmp319_AST = null;			tmp319_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp319_AST);			match(LITERAL_text);			if ( inputState.guessing==0 ) {				name= "text";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_node:		{			AST tmp320_AST = null;			tmp320_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp320_AST);			match(LITERAL_node);			if ( inputState.guessing==0 ) {				name= "node";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_or:		{			AST tmp321_AST = null;			tmp321_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp321_AST);			match(LITERAL_or);			if ( inputState.guessing==0 ) {				name= "or";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_and:		{			AST tmp322_AST = null;			tmp322_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp322_AST);			match(LITERAL_and);			if ( inputState.guessing==0 ) {				name= "and";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_child:		{			AST tmp323_AST = null;			tmp323_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp323_AST);			match(LITERAL_child);			if ( inputState.guessing==0 ) {				name= "child";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_parent:		{			AST tmp324_AST = null;			tmp324_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp324_AST);			match(LITERAL_parent);			if ( inputState.guessing==0 ) {				name= "parent";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_self:		{			AST tmp325_AST = null;			tmp325_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp325_AST);			match(LITERAL_self);			if ( inputState.guessing==0 ) {				name= "self";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_attribute:		{			AST tmp326_AST = null;			tmp326_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp326_AST);			match(LITERAL_attribute);			if ( inputState.guessing==0 ) {				name= "attribute";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_comment:		{			AST tmp327_AST = null;			tmp327_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp327_AST);			match(LITERAL_comment);			if ( inputState.guessing==0 ) {				name= "comment";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_document:		{			AST tmp328_AST = null;			tmp328_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp328_AST);			match(LITERAL_document);			if ( inputState.guessing==0 ) {				name= "document";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_collection:		{			AST tmp329_AST = null;			tmp329_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp329_AST);			match(LITERAL_collection);			if ( inputState.guessing==0 ) {				name= "collection";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_ancestor:		{			AST tmp330_AST = null;			tmp330_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp330_AST);			match(LITERAL_ancestor);			if ( inputState.guessing==0 ) {				name= "ancestor";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_descendant:		{			AST tmp331_AST = null;			tmp331_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp331_AST);			match(LITERAL_descendant);			if ( inputState.guessing==0 ) {				name= "descendant";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case 115:		{			AST tmp332_AST = null;			tmp332_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp332_AST);			match(115);			if ( inputState.guessing==0 ) {				name= "descendant-or-self";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case 119:		{			AST tmp333_AST = null;			tmp333_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp333_AST);			match(119);			if ( inputState.guessing==0 ) {				name= "ancestor-or-self";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case 120:		{			AST tmp334_AST = null;			tmp334_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp334_AST);			match(120);			if ( inputState.guessing==0 ) {				name= "preceding-sibling";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case 116:		{			AST tmp335_AST = null;			tmp335_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp335_AST);			match(116);			if ( inputState.guessing==0 ) {				name= "following-sibling";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_item:		{			AST tmp336_AST = null;			tmp336_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp336_AST);			match(LITERAL_item);			if ( inputState.guessing==0 ) {				name= "item";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_empty:		{			AST tmp337_AST = null;			tmp337_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp337_AST);			match(LITERAL_empty);			if ( inputState.guessing==0 ) {				name= "empty";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case VERSION:		{			AST tmp338_AST = null;			tmp338_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp338_AST);			match(VERSION);			if ( inputState.guessing==0 ) {				name= "version";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case XQUERY:		{			AST tmp339_AST = null;			tmp339_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp339_AST);			match(XQUERY);			if ( inputState.guessing==0 ) {				name= "xquery";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_variable:		{			AST tmp340_AST = null;			tmp340_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp340_AST);			match(LITERAL_variable);			if ( inputState.guessing==0 ) {				name= "variable";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_namespace:		{			AST tmp341_AST = null;			tmp341_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp341_AST);			match(LITERAL_namespace);			if ( inputState.guessing==0 ) {				name= "namespace";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_if:		{			AST tmp342_AST = null;			tmp342_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp342_AST);			match(LITERAL_if);			if ( inputState.guessing==0 ) {				name= "if";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_then:		{			AST tmp343_AST = null;			tmp343_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp343_AST);			match(LITERAL_then);			if ( inputState.guessing==0 ) {				name= "then";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_else:		{			AST tmp344_AST = null;			tmp344_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp344_AST);			match(LITERAL_else);			if ( inputState.guessing==0 ) {				name= "else";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_for:		{			AST tmp345_AST = null;			tmp345_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp345_AST);			match(LITERAL_for);			if ( inputState.guessing==0 ) {				name= "for";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_let:		{			AST tmp346_AST = null;			tmp346_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp346_AST);			match(LITERAL_let);			if ( inputState.guessing==0 ) {				name= "let";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_default:		{			AST tmp347_AST = null;			tmp347_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp347_AST);			match(LITERAL_default);			if ( inputState.guessing==0 ) {				name= "default";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_function:		{			AST tmp348_AST = null;			tmp348_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp348_AST);			match(LITERAL_function);			if ( inputState.guessing==0 ) {				name= "function";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_as:		{			AST tmp349_AST = null;			tmp349_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp349_AST);			match(LITERAL_as);			if ( inputState.guessing==0 ) {				name = "as";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_union:		{			AST tmp350_AST = null;			tmp350_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp350_AST);			match(LITERAL_union);			if ( inputState.guessing==0 ) {				name = "union";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_intersect:		{			AST tmp351_AST = null;			tmp351_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp351_AST);			match(LITERAL_intersect);			if ( inputState.guessing==0 ) {				name = "intersect";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_except:		{			AST tmp352_AST = null;			tmp352_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp352_AST);			match(LITERAL_except);			if ( inputState.guessing==0 ) {				name = "except";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_order:		{			AST tmp353_AST = null;			tmp353_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp353_AST);			match(LITERAL_order);			if ( inputState.guessing==0 ) {				name = "order";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_by:		{			AST tmp354_AST = null;			tmp354_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp354_AST);			match(LITERAL_by);			if ( inputState.guessing==0 ) {				name = "by";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		default:		{			throw new NoViableAltException(LT(1), getFilename());		}		}		returnAST = reservedKeywords_AST;		return name;	}