class Parser::Lexer::Literal

Public Instance Methods

extend_string(string, ts, te) click to toggle source
# File lib/opal/parser/patch.rb, line 29
def extend_string(string, ts, te)
  @buffer_s ||= ts
  @buffer_e = te

  # Patch for opal-parser, original:
  # @buffer << string
  @buffer += string
end