73
74
75
76
77
78
79
80
81
82
83
84
85
|
# File 'lib/antlr4/runtime/common_token.rb', line 73
def text
return @_text unless @_text.nil?
input = input_stream
return nil if input.nil?
n = input.size
if @start < n && @stop < n
input.text(Interval.of(@start, @stop))
else
'<EOF>'
end
end
|