static_literal_parser 0.0.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/static_literal_parser.rb +2 -0
- 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: 82b3e80ee21bee898310ea427ec7c8d17ac8cd6c4bdd695b01533c20b10ce6bb
|
4
|
+
data.tar.gz: bceae076cc0417f41dd6d2e17c5f0a72c21c3f49d25bd7c3e4ea5ae045372d40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3a1ae56c150260c4b9d329a380e9dfd9575fd5807c5d6fe6c23977e7213ea0289a95b0d0c9fae60de1be88df88fdfa8eb8679a5431f689699e66830aef11453
|
7
|
+
data.tar.gz: 31544354602f701aba7fa126112f71e1318b63625d2abb74dbf2c7ab03746bfb559c25a55d1371086c73697f2cd8b5763a019eb9334621cb712ae6ebde8c8c30
|
@@ -26,6 +26,8 @@ module StaticLiteralParser
|
|
26
26
|
else
|
27
27
|
raise "Unexpected COLON2 parent #{parent.type}"
|
28
28
|
end
|
29
|
+
when :DSTR, :DOT2, :DREGX
|
30
|
+
raise "Unsupported node: #{node.type}\nStaticLiteralParser does not support any dyanmic evaluations."
|
29
31
|
else
|
30
32
|
raise "Unexpected node #{node.type}"
|
31
33
|
end
|