123456789_123456789_123456789_123456789_123456789_

Class: RDoc::Parser::RipperStateLex::InnerStateLex

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Ripper::Filter
Instance Chain:
self, Ripper::Filter
Inherits: Ripper::Filter
  • Object
Defined in: lib/rdoc/parser/ripper_state_lex.rb

Class Method Summary

Instance Method Summary

Constructor Details

.new(code) ⇒ InnerStateLex

[ GitHub ]

  
# File 'lib/rdoc/parser/ripper_state_lex.rb', line 18

def initialize(code)
  super(code)
end

Instance Method Details

#on_default(event, tok, data)

[ GitHub ]

  
# File 'lib/rdoc/parser/ripper_state_lex.rb', line 22

def on_default(event, tok, data)
  data << Token.new(lineno, column, event, tok, state)
end