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
Instance Method Summary
Constructor Details
.new(pos, event, tok, state, message = nil) ⇒ Elem
Instance Attribute Details
#event (rw)
[ GitHub ]#message (rw)
[ GitHub ]#pos (rw)
[ GitHub ]#state (rw)
[ GitHub ]#tok (rw)
[ GitHub ]Instance Method Details
#inspect
[ GitHub ]#pretty_print(q)
[ GitHub ]#to_a
[ GitHub ]# File 'ext/ripper/lib/ripper/lexer.rb', line 89
def to_a a = super a.pop unless a.last a end