class RubyParserStuff::String
Attributes
lineno[RW]
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.
Public Instance Methods
grep(re)
click to toggle source
# File lib/ruby_parser_extras.rb, line 1402 def grep re lines.grep re end