Class: Packcr::Parser::ThunkChunk
- Inherits:
-
Object
- Object
- Packcr::Parser::ThunkChunk
- Defined in:
- lib/packcr/parser.rb
Instance Attribute Summary collapse
-
#capts ⇒ Object
Returns the value of attribute capts.
-
#pos ⇒ Object
Returns the value of attribute pos.
-
#pos_loc ⇒ Object
Returns the value of attribute pos_loc.
-
#thunks ⇒ Object
Returns the value of attribute thunks.
-
#values ⇒ Object
Returns the value of attribute values.
Instance Method Summary collapse
-
#initialize ⇒ ThunkChunk
constructor
A new instance of ThunkChunk.
- #resize_captures(len) ⇒ Object
Constructor Details
#initialize ⇒ ThunkChunk
Returns a new instance of ThunkChunk.
4819 4820 4821 4822 4823 4824 4825 |
# File 'lib/packcr/parser.rb', line 4819 def initialize super @thunks = [] @capts = {} @pos = 0 @values = {} end |
Instance Attribute Details
#capts ⇒ Object
Returns the value of attribute capts.
4817 4818 4819 |
# File 'lib/packcr/parser.rb', line 4817 def capts @capts end |
#pos ⇒ Object
Returns the value of attribute pos.
4817 4818 4819 |
# File 'lib/packcr/parser.rb', line 4817 def pos @pos end |
#pos_loc ⇒ Object
Returns the value of attribute pos_loc.
4817 4818 4819 |
# File 'lib/packcr/parser.rb', line 4817 def pos_loc @pos_loc end |
#thunks ⇒ Object
Returns the value of attribute thunks.
4817 4818 4819 |
# File 'lib/packcr/parser.rb', line 4817 def thunks @thunks end |
#values ⇒ Object
Returns the value of attribute values.
4817 4818 4819 |
# File 'lib/packcr/parser.rb', line 4817 def values @values end |