class Antlr4::Runtime::TextChunk
Attributes
text[R]
Public Class Methods
new(text)
click to toggle source
# File lib/antlr4/runtime/text_chunk.rb, line 6 def initialize(text) raise IllegalArgumentException, 'text cannot be null' if text.nil? @text = text end
Public Instance Methods
to_s()
click to toggle source
# File lib/antlr4/runtime/text_chunk.rb, line 12 def to_s "'" + @text + "'" end