Class: MarshalParser::Lexer::Token
- Inherits:
-
Struct
- Object
- Struct
- MarshalParser::Lexer::Token
- Defined in:
- lib/marshal-parser/lexer.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#index ⇒ Object
Returns the value of attribute index.
-
#length ⇒ Object
Returns the value of attribute length.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
40 41 42 |
# File 'lib/marshal-parser/lexer.rb', line 40 def id @id end |
#index ⇒ Object
Returns the value of attribute index
40 41 42 |
# File 'lib/marshal-parser/lexer.rb', line 40 def index @index end |
#length ⇒ Object
Returns the value of attribute length
40 41 42 |
# File 'lib/marshal-parser/lexer.rb', line 40 def length @length end |
#value ⇒ Object
Returns the value of attribute value
40 41 42 |
# File 'lib/marshal-parser/lexer.rb', line 40 def value @value end |