match(LITERAL_for); if ( inputState.guessing==0 ) { name= "for"; } reservedKeywords_AST = (AST)currentAST.root; break; } case LITERAL_let:
match(LITERAL_variable); if ( inputState.guessing==0 ) { name= "variable"; } reservedKeywords_AST = (AST)currentAST.root; break; } case LITERAL_namespace:
	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 tmp288_AST = null;			tmp288_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp288_AST);			match(LITERAL_div);			if ( inputState.guessing==0 ) {				name= "div";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_mod:		{			AST tmp289_AST = null;			tmp289_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp289_AST);			match(LITERAL_mod);			if ( inputState.guessing==0 ) {				name= "mod";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_text:		{			AST tmp290_AST = null;			tmp290_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp290_AST);			match(LITERAL_text);			if ( inputState.guessing==0 ) {				name= "text";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_node:		{			AST tmp291_AST = null;			tmp291_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp291_AST);			match(LITERAL_node);			if ( inputState.guessing==0 ) {				name= "node";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_or:		{			AST tmp292_AST = null;			tmp292_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp292_AST);			match(LITERAL_or);			if ( inputState.guessing==0 ) {				name= "or";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_and:		{			AST tmp293_AST = null;			tmp293_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp293_AST);			match(LITERAL_and);			if ( inputState.guessing==0 ) {				name= "and";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_child:		{			AST tmp294_AST = null;			tmp294_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp294_AST);			match(LITERAL_child);			if ( inputState.guessing==0 ) {				name= "child";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_parent:		{			AST tmp295_AST = null;			tmp295_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp295_AST);			match(LITERAL_parent);			if ( inputState.guessing==0 ) {				name= "parent";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_self:		{			AST tmp296_AST = null;			tmp296_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp296_AST);			match(LITERAL_self);			if ( inputState.guessing==0 ) {				name= "self";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_attribute:		{			AST tmp297_AST = null;			tmp297_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp297_AST);			match(LITERAL_attribute);			if ( inputState.guessing==0 ) {				name= "attribute";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_comment:		{			AST tmp298_AST = null;			tmp298_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp298_AST);			match(LITERAL_comment);			if ( inputState.guessing==0 ) {				name= "comment";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_document:		{			AST tmp299_AST = null;			tmp299_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp299_AST);			match(LITERAL_document);			if ( inputState.guessing==0 ) {				name= "document";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_collection:		{			AST tmp300_AST = null;			tmp300_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp300_AST);			match(LITERAL_collection);			if ( inputState.guessing==0 ) {				name= "collection";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_ancestor:		{			AST tmp301_AST = null;			tmp301_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp301_AST);			match(LITERAL_ancestor);			if ( inputState.guessing==0 ) {				name= "ancestor";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_descendant:		{			AST tmp302_AST = null;			tmp302_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp302_AST);			match(LITERAL_descendant);			if ( inputState.guessing==0 ) {				name= "descendant";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case 104:		{			AST tmp303_AST = null;			tmp303_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp303_AST);			match(104);			if ( inputState.guessing==0 ) {				name= "descendant-or-self";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case 108:		{			AST tmp304_AST = null;			tmp304_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp304_AST);			match(108);			if ( inputState.guessing==0 ) {				name= "ancestor-or-self";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case 109:		{			AST tmp305_AST = null;			tmp305_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp305_AST);			match(109);			if ( inputState.guessing==0 ) {				name= "preceding-sibling";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case 105:		{			AST tmp306_AST = null;			tmp306_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp306_AST);			match(105);			if ( inputState.guessing==0 ) {				name= "following-sibling";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_item:		{			AST tmp307_AST = null;			tmp307_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp307_AST);			match(LITERAL_item);			if ( inputState.guessing==0 ) {				name= "item";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_empty:		{			AST tmp308_AST = null;			tmp308_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp308_AST);			match(LITERAL_empty);			if ( inputState.guessing==0 ) {				name= "empty";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case VERSION:		{			AST tmp309_AST = null;			tmp309_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp309_AST);			match(VERSION);			if ( inputState.guessing==0 ) {				name= "version";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case XQUERY:		{			AST tmp310_AST = null;			tmp310_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp310_AST);			match(XQUERY);			if ( inputState.guessing==0 ) {				name= "xquery";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_variable:		{			AST tmp311_AST = null;			tmp311_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp311_AST);			match(LITERAL_variable);			if ( inputState.guessing==0 ) {				name= "variable";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_namespace:		{			AST tmp312_AST = null;			tmp312_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp312_AST);			match(LITERAL_namespace);			if ( inputState.guessing==0 ) {				name= "namespace";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_if:		{			AST tmp313_AST = null;			tmp313_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp313_AST);			match(LITERAL_if);			if ( inputState.guessing==0 ) {				name= "if";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_then:		{			AST tmp314_AST = null;			tmp314_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp314_AST);			match(LITERAL_then);			if ( inputState.guessing==0 ) {				name= "then";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_else:		{			AST tmp315_AST = null;			tmp315_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp315_AST);			match(LITERAL_else);			if ( inputState.guessing==0 ) {				name= "else";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_for:		{			AST tmp316_AST = null;			tmp316_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp316_AST);			match(LITERAL_for);			if ( inputState.guessing==0 ) {				name= "for";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_let:		{			AST tmp317_AST = null;			tmp317_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp317_AST);			match(LITERAL_let);			if ( inputState.guessing==0 ) {				name= "let";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_default:		{			AST tmp318_AST = null;			tmp318_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp318_AST);			match(LITERAL_default);			if ( inputState.guessing==0 ) {				name= "default";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		case LITERAL_function:		{			AST tmp319_AST = null;			tmp319_AST = astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp319_AST);			match(LITERAL_function);			if ( inputState.guessing==0 ) {				name= "function";			}			reservedKeywords_AST = (AST)currentAST.root;			break;		}		default:		{			throw new NoViableAltException(LT(1), getFilename());		}		}		returnAST = reservedKeywords_AST;		return name;	}