fork
This commit is contained in:
24
langs/coffee/coffee.txt
Normal file
24
langs/coffee/coffee.txt
Normal file
@ -0,0 +1,24 @@
|
||||
### COFFEESCRIPT LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME CoffeeScript
|
||||
VERSION 1.0
|
||||
|
||||
COMMENT (###[\s\S]*?###|#.*?$)
|
||||
STRING (?default)|(%\w?\([^\)]*\))|(\`[^\`]*`)|(\<\<["'-]?\w+["']?)
|
||||
|
||||
FUNCTION:KEYWORD \b(?alt:function.txt)\b
|
||||
MODULE:KEYWORD \b(?alt:module.txt)\b
|
||||
EXCEPTION:KEYWORD \b(?alt:exception.txt)\b
|
||||
STATEMENT \b(?alt:statement.txt)\b
|
||||
RESERVED \b(?alt:reserved.txt)\b
|
||||
TYPE \b(?alt:type.txt)\b
|
||||
MODIFIER \b(?alt:modifier.txt)\b
|
||||
|
||||
ENTITY ((?-i)\b[A-Z_][A-Za-z_]*(?i))|(\w+):
|
||||
VARIABLE ((@+)\w+)|this
|
||||
IDENTIFIER (?default)
|
||||
CONSTANT (?default)
|
||||
OPERATOR (?default)
|
||||
SYMBOL (?default)
|
5
langs/coffee/exception.txt
Normal file
5
langs/coffee/exception.txt
Normal file
@ -0,0 +1,5 @@
|
||||
RangeError
|
||||
ReferenceError
|
||||
SyntaxError
|
||||
TypeError
|
||||
RegExpURIError
|
4
langs/coffee/function.txt
Normal file
4
langs/coffee/function.txt
Normal file
@ -0,0 +1,4 @@
|
||||
parseInt
|
||||
parseFloat
|
||||
isNaN
|
||||
isFinite
|
2
langs/coffee/modifier.txt
Normal file
2
langs/coffee/modifier.txt
Normal file
@ -0,0 +1,2 @@
|
||||
__defineGetter__
|
||||
__defineSetter__
|
3
langs/coffee/module.txt
Normal file
3
langs/coffee/module.txt
Normal file
@ -0,0 +1,3 @@
|
||||
console
|
||||
document
|
||||
export
|
20
langs/coffee/reserved.txt
Normal file
20
langs/coffee/reserved.txt
Normal file
@ -0,0 +1,20 @@
|
||||
class
|
||||
extends
|
||||
super
|
||||
require
|
||||
undefined
|
||||
null
|
||||
return
|
||||
prototype
|
||||
is
|
||||
isnt
|
||||
or
|
||||
and
|
||||
yes
|
||||
on
|
||||
no
|
||||
off
|
||||
true
|
||||
false
|
||||
typeof
|
||||
arguments
|
17
langs/coffee/statement.txt
Normal file
17
langs/coffee/statement.txt
Normal file
@ -0,0 +1,17 @@
|
||||
if
|
||||
else
|
||||
try
|
||||
catch
|
||||
finally
|
||||
throw
|
||||
while
|
||||
until
|
||||
unless
|
||||
do
|
||||
in
|
||||
of
|
||||
then
|
||||
when
|
||||
switch
|
||||
for
|
||||
new
|
1
langs/coffee/type.txt
Normal file
1
langs/coffee/type.txt
Normal file
@ -0,0 +1 @@
|
||||
void
|
Reference in New Issue
Block a user