1

According to the annotated source, the Coffee Script grammar delimits the arguments to a function call with CALL_START ArgList OptComma CALL_END, but I can't see where CALL_END is actually defined. What is it defined as?

1
  • Best guess (without looking at the source): Closing parenthesis, line break, or control keyword (for, while, if, unless, etc.). Operators (comparison, arithmetic, typeof etc.) don't count
    – Flambino
    Feb 7, 2012 at 21:29

1 Answer 1

2

Apparently CALL_END is inserted by addImplicitParentheses in rewriter.coffee

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.