class

Arborist::ExprCallTree

Inherits Reference / Object

Constructors

new(expr_call : Arborist::ExprCall, parent : Arborist::ExprCallTree | Nil, parent_apply_node : Nil | Arborist::ApplyCallTree)
Source

Instance methods

append_child(expr_call : ExprCall, root_memoization_scope : RootMemoizationScope)

returns the newly created child tree node

Source
append_child(child_tree : ExprCallTree)

returns the child tree node

Source
children
Source
children=(children : Array(ExprCallTree))
Source
delete_child(child_tree : ExprCallTree)
Source
expr_call
Source
expr_call=(expr_call : ExprCall)
Source
hash(hasher)

See Object#hash(hasher)

Source
parent
Source
parent=(parent : ExprCallTree | Nil)
Source
parent_apply_node
Source
parent_apply_node=(parent_apply_node : ApplyCallTree | Nil)
Source
postorder_traverse
Source
prune_tree!
Source
self_and_descendants

This method returns a list of nodes in order of a postorder traversal of nodes in the tree rooted at <self>

Source
sever_from_parent!
Source