Class: Parser::Lexer::Literal
- Inherits:
-
Object
- Object
- Parser::Lexer::Literal
- Defined in:
- opal/lib/opal/parser/patch.rb
Instance Method Summary collapse
Instance Method Details
#extend_string(string, ts, te) ⇒ Object
22 23 24 25 26 27 28 29 |
# File 'opal/lib/opal/parser/patch.rb', line 22 def extend_string(string, ts, te) @buffer_s ||= ts @buffer_e = te # Patch for opal-parser, original: # @buffer << string @buffer += string end |