Class: MarshalParser::Parser::NilNode
- Defined in:
- lib/marshal-parser/parser.rb
Instance Method Summary collapse
- #always_leaf? ⇒ Boolean
- #child_entities ⇒ Object
-
#initialize(token) ⇒ NilNode
constructor
A new instance of NilNode.
Methods inherited from Node
#attributes, #children, #decoded_value, #literal_token, #tokens
Methods included from Assertable
Constructor Details
Instance Method Details
#always_leaf? ⇒ Boolean
466 467 468 |
# File 'lib/marshal-parser/parser.rb', line 466 def always_leaf? true end |
#child_entities ⇒ Object
462 463 464 |
# File 'lib/marshal-parser/parser.rb', line 462 def child_entities [@token] end |