How can a lexer decide a token to be "get", "IdentifierName" or "Identifier" ?

Michael Dyck jmdyck at
Mon Feb 4 13:56:12 PST 2013

Brendan Eich wrote:
> Don't forget method definition shorthand syntax, if the next token is 
> "(". Then the method is named "get", of course.

Yup. Like I said, I was ignoring the effect of other productions.
(That's what the OP appeared to be doing too.)


More information about the es-discuss mailing list