# File lib/parser/lexer/literal.rb, line 239 def clear_buffer @buffer = '' # Prime the buffer with lexer encoding; otherwise, # concatenation will produce varying results. if defined?(Encoding) @buffer.force_encoding(@lexer.source_buffer.source.encoding) end @buffer_s = nil @buffer_e = nil end