Class: MarshalParser::Parser::ObjectExtendedNode

Inherits:
Node
  • Object
show all
Defined in:
lib/marshal-parser/parser.rb

Instance Method Summary collapse

Methods inherited from Node

#always_leaf?, #attributes, #children, #decoded_value, #literal_token, #tokens

Methods included from Assertable

#assert

Constructor Details

#initialize(prefix, module_name_node, object_node) ⇒ ObjectExtendedNode

Returns a new instance of ObjectExtendedNode.



867
868
869
870
871
872
# File 'lib/marshal-parser/parser.rb', line 867

def initialize(prefix, module_name_node, object_node)
  super()
  @prefix = prefix
  @module_name_node = module_name_node
  @object_node = object_node
end

Instance Method Details

#child_entitiesObject



874
875
876
# File 'lib/marshal-parser/parser.rb', line 874

def child_entities
  [@prefix, @module_name_node, @object_node]
end