added the instanceof operator to the grammar as an operation node

This commit is contained in:
Jeremy Ashkenas
2009-12-24 11:46:51 -08:00
parent 2e8f03b4cc
commit 5d1ec9d2a9
4 changed files with 24 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ module CoffeeScript
"for", "in", "while",
"switch", "when",
"super",
"delete"]
"delete", "instanceof"]
# Token matching regexes.
IDENTIFIER = /\A([a-zA-Z$_]\w*)/