private String friendlyName ( Token token ) { return token . kind == EOF ? EOF_STRING : token . kind == UNTERMINATED_COMMENT ? UNTERMINATED_COMMENT_STRING : token . image ; }
Turn a token into a user readable name