Class: Python::Parser::Succeeded
- Inherits:
-
Object
- Object
- Python::Parser::Succeeded
- Defined in:
- lib/python/parser/combinator.rb
Instance Attribute Summary collapse
-
#parsed ⇒ Object
readonly
Returns the value of attribute parsed.
-
#rest ⇒ Object
readonly
Returns the value of attribute rest.
Instance Method Summary collapse
-
#initialize(parsed, rest) ⇒ Succeeded
constructor
A new instance of Succeeded.
Constructor Details
#initialize(parsed, rest) ⇒ Succeeded
Returns a new instance of Succeeded.
9 10 11 |
# File 'lib/python/parser/combinator.rb', line 9 def initialize(parsed, rest) @parsed, @rest = parsed, rest end |
Instance Attribute Details
#parsed ⇒ Object (readonly)
Returns the value of attribute parsed.
8 9 10 |
# File 'lib/python/parser/combinator.rb', line 8 def parsed @parsed end |
#rest ⇒ Object (readonly)
Returns the value of attribute rest.
8 9 10 |
# File 'lib/python/parser/combinator.rb', line 8 def rest @rest end |