class Arborist::ApplyCallTree

Defined in:

expression_call_tree.cr

Constructors

Instance Method Summary

Instance methods inherited from class Arborist::ExprCallTree

append_child(expr_call : ExprCall, root_memoization_scope : RootMemoizationScope)
append_child(child_tree : ExprCallTree)
append_child
, children : Array(ExprCallTree) children, children=(children : Array(ExprCallTree)) children=, delete_child(child_tree : ExprCallTree) delete_child, expr_call : ExprCall expr_call, expr_call=(expr_call : ExprCall) expr_call=, hash(hasher) hash, parent : ExprCallTree | Nil parent, parent=(parent : ExprCallTree | Nil) parent=, parent_apply_node : ApplyCallTree | Nil parent_apply_node, parent_apply_node=(parent_apply_node : ApplyCallTree | Nil) parent_apply_node=, postorder_traverse(&blk : ExprCallTree -> ) postorder_traverse, prune_tree! prune_tree!, self_and_descendants self_and_descendants, sever_from_parent! sever_from_parent!

Constructor methods inherited from class Arborist::ExprCallTree

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

Constructor Detail

def self.new(expr_call, parent, parent_apply_node, base_memoization_scope) #

[View source]

Instance Method Detail

def append_child(expr_call : ExprCall, root_memoization_scope : RootMemoizationScope) #
Description copied from class Arborist::ExprCallTree

returns the newly created child tree node


[View source]
def apply_call : ApplyCall #

[View source]
def clone_memoization_scope(other_memoization_scope) #

[View source]
def local_exist?(pos : Int32, rule : Rule) : Bool #

[View source]
def local_lookup(pos : Int32, rule : Rule) : MemoizedParseTree #

[View source]
def local_memoize(pos : Int32, rule : Rule, memo_result : MemoizedParseTree) : MemoizedParseTree #

[View source]
def memo_table : MemoTable #

[View source]
def memo_table=(memo_table : MemoTable) #

[View source]