123456789_123456789_123456789_123456789_123456789_

Class: Ripper::Lexer::Elem

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Struct
Instance Chain:
self, Struct
Inherits: Struct
Defined in: ext/ripper/lib/ripper/lexer.rb

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(pos, event, tok, state) ⇒ Elem

[ GitHub ]

  
# File 'ext/ripper/lib/ripper/lexer.rb', line 63

def initialize(pos, event, tok, state)
  super(pos, event, tok, State.new(state))
end

Instance Attribute Details

#event (rw)

[ GitHub ]

  
# File 'ext/ripper/lib/ripper/lexer.rb', line 62

Elem = Struct.new(:pos, :event, :tok, :state)

#pos (rw)

[ GitHub ]

  
# File 'ext/ripper/lib/ripper/lexer.rb', line 62

Elem = Struct.new(:pos, :event, :tok, :state)

#state (rw)

[ GitHub ]

  
# File 'ext/ripper/lib/ripper/lexer.rb', line 62

Elem = Struct.new(:pos, :event, :tok, :state)

#tok (rw)

[ GitHub ]

  
# File 'ext/ripper/lib/ripper/lexer.rb', line 62

Elem = Struct.new(:pos, :event, :tok, :state)