code-lexer 0.2 → 0.3
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 +5 -4
- 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: 1d118a62a0320daf8a38c03fc9133dddbb6c5ab55d1386c323a53fb9b7ace59e
|
4
|
+
data.tar.gz: 6c5e4401890025c6b379e289c9b63a581d4a3731ff62f5f903e95ec153145274
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 116f92a402b3f4077a357a35e3241934b1acc4760569e57ffa14fa07dbd7276f8d020d4c88d4aa8191c1cfcb48140cc4401dcfdb5a8f0e6328383a80afb0041c
|
7
|
+
data.tar.gz: be5d36fe5a1434f9771194584ebe9b45fdf8fdd257e1ab277cd180940448459ca6791e5140a9831078d24542d61185aa89014e37c13f44dfa14e900c33d56e90
|
@@ -11,11 +11,12 @@ number:\-?[0-9]*\.[0-9]
|
|
11
11
|
number:\-?[0-9]*\.[0-9]e\-?[0-9]+
|
12
12
|
number:\-?0[Xx][0-9A-Fa-f]+
|
13
13
|
number:\-?0[0-7]+
|
14
|
-
operator:(
|
15
|
-
operator:(
|
16
|
-
operator:(
|
14
|
+
operator:(\=\=\=|\!\=\=)
|
15
|
+
operator:(\<\=|\>\=|\=\=|\!\=)
|
16
|
+
operator:(\&\&|\|\||\!)
|
17
|
+
operator:(\+\=|\-\=|\/\=|\*\=|\%\=|\+\+|\-\-)
|
17
18
|
operator:(\&|\||\~|\^|\<\<|\>\>)
|
18
|
-
operator:(
|
19
|
+
operator:(\=|\+|\-|\/|\*|\%)
|
19
20
|
operator:(\.|\,|\:)
|
20
21
|
operator:(\<|\>)
|
21
22
|
parenthesis:(\(|\)|\[|\]|\{|\})
|