Class: Parser::Lexer::Literal
- Inherits:
-
Object
- Object
- Parser::Lexer::Literal
- Defined in:
- lib/opal/parser/patch.rb
Instance Method Summary collapse
Instance Method Details
#extend_string(string, ts, te) ⇒ Object
29 30 31 32 33 34 35 36 |
# 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 |