Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_parser/bm_sexp.rb

Instance Attribute Summary collapse

Instance Attribute Details

#linenoObject

This is a hack used by the lexer to sneak in line numbers at the identifier level. This should be MUCH smaller than making process_token return [value, lineno] and modifying EVERYTHING that reduces tIDENTIFIER.



656
657
658
# File 'lib/ruby_parser/bm_sexp.rb', line 656

def lineno
  @lineno
end