Class: Stupidedi::Zipper::AbstractPath

Inherits:
Object
  • Object
show all
Defined in:
lib/stupidedi/zipper/path.rb

Direct Known Subclasses

Hole

Instance Method Summary collapse

Instance Method Details

#depthInteger

Distance from the root node


32
# File 'lib/stupidedi/zipper/path.rb', line 32

abstract :depth

#leftArray<#leaf?, #children, #copy>

Contains the node's leftward siblings, sorted nearest to furthest


16
# File 'lib/stupidedi/zipper/path.rb', line 16

abstract :left

#parentAbstractPath


11
# File 'lib/stupidedi/zipper/path.rb', line 11

abstract :parent

#rightArray<#leaf?, #children, #copy>

Contains the node's rightward siblings, sorted nearest to furthest


21
# File 'lib/stupidedi/zipper/path.rb', line 21

abstract :right