class Antlr4::Runtime::CharStreams
Constants
- DEFAULT_BUFFER_SIZE
Public Class Methods
from_string(s, source_name)
click to toggle source
# File lib/antlr4/runtime/char_streams.rb, line 6 def self.from_string(s, source_name) CodePointCharStream.new(0, s.length, source_name, s.codepoints) end