Method: Jinx::Visitor#from
- Defined in:
- lib/jinx/helpers/visitor.rb
#from ⇒ Object Also known as: parent
Returns the node most recently passed as an argument to this visitor’s navigator block, or nil if visiting the first node.
124 125 126 |
# File 'lib/jinx/helpers/visitor.rb', line 124 def from @lineage[-2] end |