private IdentifierToken eatId ( ) { if ( peekId ( ) ) { return eatIdOrKeywordAsId ( ) ; } else { reportExpectedError ( peekToken ( ) , TokenType . IDENTIFIER ) ; if ( peekIdOrKeyword ( ) ) { return eatIdOrKeywordAsId ( ) ; } else { return null ; } } }
Consumes an identifier token that is not a reserved word .