case 100: case 101:
case 102: case 103:
	public final String  ncnameOrKeyword() throws RecognitionException, TokenStreamException {		String name;				returnAST = null;		ASTPair currentAST = new ASTPair();		AST ncnameOrKeyword_AST = null;		Token  n1 = null;		AST n1_AST = null;		name= null;				switch ( LA(1)) {		case NCNAME:		{			n1 = LT(1);			n1_AST = astFactory.create(n1);			astFactory.addASTChild(currentAST, n1_AST);			match(NCNAME);			if ( inputState.guessing==0 ) {				name= n1.getText();			}			ncnameOrKeyword_AST = (AST)currentAST.root;			break;		}		case LITERAL_xquery:		case LITERAL_version:		case LITERAL_namespace:		case LITERAL_default:		case LITERAL_function:		case LITERAL_variable:		case LITERAL_empty:		case LITERAL_item:		case LITERAL_for:		case LITERAL_let:		case LITERAL_if:		case LITERAL_then:		case LITERAL_else:		case LITERAL_or:		case LITERAL_and:		case LITERAL_div:		case LITERAL_mod:		case LITERAL_text:		case LITERAL_node:		case LITERAL_child:		case LITERAL_self:		case LITERAL_attribute:		case LITERAL_descendant:		case 100:		case 101:		case LITERAL_parent:		case LITERAL_ancestor:		case 104:		case 105:		case LITERAL_comment:		case LITERAL_document:		case LITERAL_collection:		{			name=reservedKeywords();			astFactory.addASTChild(currentAST, returnAST);			ncnameOrKeyword_AST = (AST)currentAST.root;			break;		}		default:		{			throw new NoViableAltException(LT(1), getFilename());		}		}		returnAST = ncnameOrKeyword_AST;		return name;	}