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
28 29 30 31 32 33 34 35 |
# File 'opal/lib/opal/parser/patch.rb', line 28 def extend_string(string, ts, te) @buffer_s ||= ts @buffer_e = te # Patch for opal-parser, original: # @buffer << string @buffer += string end |