antlr4-runtime 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/antlr4/runtime/buffered_token_stream.rb +1 -1
- data/lib/antlr4/runtime/common_token.rb +2 -2
- data/lib/antlr4/runtime/version.rb +1 -1
- 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: 81778db9b70cdb6028d59d58a40844d8bad3148627d419b46979e337515cc086
|
4
|
+
data.tar.gz: 639383b67edeeea2835cddf7983a0ab97f66fc57504c8e44fac484e1ea7f6325
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3434266c841e97cc217275e6554024bb1e87e9e154388b60d6e1faff8ab8b40319debcda08971c1e22cec2848c1b77eb7880b294856179fb1e22106f48edf832
|
7
|
+
data.tar.gz: '08853ab9606b697a76f33e2f8791324b12ccc3ac8843c1b668dbddee0d165265dbb44b1ce145c43e959638cd5b2dc6878fdd9d6f56761bcffb6cd46d24e67829'
|
data/CHANGELOG.md
CHANGED
@@ -98,7 +98,7 @@ module Antlr4::Runtime
|
|
98
98
|
|
99
99
|
type_string = type.to_s
|
100
100
|
type_string = r.get_vocabulary.display_name(@type) unless r.nil?
|
101
|
-
'[@' << token_index.to_s << ',' << @start.to_s << ':' << @stop.to_s << "='" << txt << "',<" << type_string << '>' << channel_str << ',' << @line.to_s << ':' << char_position_in_line.to_s << ']'
|
101
|
+
'[@' << @token_index.to_s << ',' << @start.to_s << ':' << @stop.to_s << "='" << txt << "',<" << type_string << '>' << channel_str << ',' << @line.to_s << ':' << @char_position_in_line.to_s << ']'
|
102
102
|
end
|
103
103
|
|
104
104
|
def to_s
|
@@ -119,7 +119,7 @@ module Antlr4::Runtime
|
|
119
119
|
|
120
120
|
type_string = type.to_s
|
121
121
|
|
122
|
-
'[@' << token_index.to_s << ',' << @start.to_s << ':' << @stop.to_s << "='" << txt << "',<" << type_string << '>' << channel_str << ',' << @line.to_s << ':' << char_position_in_line.to_s << ']'
|
122
|
+
'[@' << @token_index.to_s << ',' << @start.to_s << ':' << @stop.to_s << "='" << txt << "',<" << type_string << '>' << channel_str << ',' << @line.to_s << ':' << @char_position_in_line.to_s << ']'
|
123
123
|
end
|
124
124
|
end
|
125
125
|
end
|