code-lexer 0.3 → 0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/code-lexer/languages/javascript.clex +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13a18bbab7eb8a08deb270c5213c34b0a21d3ada73414d0cf7bfdd35606e4388
|
4
|
+
data.tar.gz: f22c5fb83d5521dae653992f17de00a18fcc9a6fef37f026ab8b1051b7085fd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccb2e6926b6868f3f4a9bdb18b420157dfc09beace098d9eceaddc85baffe2d2d63dabc2de6256bd1bdb0dc334adc16f36c60238700664c119a5327b01dd54a5
|
7
|
+
data.tar.gz: fb1d5bca13e9c23cba238ca9f85839a92238789fab85b5530408c6ddcd8e4f58bcebd8c000f2107b65ffe8b12783583684393c23f6d6581f787e46ede62855ff
|
@@ -1,7 +1,7 @@
|
|
1
1
|
keyword:(?:abstract|arguments|boolean|break|byte|case|catch|char|const|continue|debugger|default|delete|do|double|else|eval|false|final|finally|float|for|function|goto|if|implements|in|instanceof|int|interface|let|long|native|new|null|package|private|protected|public|return|short|static|switch|synchronized|this|throw|throws|transient|true|try|typeof|var|void|volatile|while|with|yield|class|enum|export|extends|import|super|from)
|
2
2
|
identifier:[$A-Za-z_][$A-Za-z0-9_]*
|
3
|
-
comment:\/\/[
|
4
|
-
comment
|
3
|
+
comment:\/\/[^\n\r]*[\n\r]
|
4
|
+
comment:\/\/.*$
|
5
5
|
comment:\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/
|
6
6
|
string:\"([^"]|\\\")*\"
|
7
7
|
string:\'[^']*\'
|