Arborist::ApplyCall
Inherits Arborist::ExprCall / Reference / Object
Constructors
Instance methods
add_candidate_seed_parse_tree(candidate_seed_parse_tree)
Sets the seed_parse_tree field to the longest match parse tree between the existing value
of the seed_parse_tree field and the supplied candidate_seed_parse_tree.
Returns the longest candidate seed parse tree observed (including candidate_seed_parse_tree)
child_recursive_calls
Sourcechild_recursive_calls=(child_recursive_calls : Set(ApplyCall))
Sourcegrew_seed_maximally
Sourcegrew_seed_maximally!
Sourcegrew_seed_maximally=(grew_seed_maximally : Bool)
Sourcegrew_seed_maximally?
Sourcehas_not_yet_resulted_in_lower_level_seed_growth!
Sourceinspect(io)
Sourceleft_recursive
Sourceleft_recursive=(left_recursive : Bool)
Sourceleft_recursive?
returns true if this rule application is left recursive at @pos; false otherwise
log_child_recursive_call(child_recursive_call)
Sourcenot_safe_to_memoize!
Sourceparent_of_recursive_call
Sourceparent_of_recursive_call=(parent_of_recursive_call : ApplyCall | Nil)
Sourceremove_all_child_recursive_calls
Sourceremove_child_recursive_call(child_recursive_call)
Sourceremove_self_from_parent_recursive_call
Sourceresulted_in_deeper_level_seed_growth!
Sourceresulted_in_deeper_level_seed_growth?
Sourceresulted_in_left_recursion
Sourceresulted_in_left_recursion=(resulted_in_left_recursion : Bool)
Sourceresulted_in_left_recursion?
Sourcerule
property expr : Expr # inherited from ExprCall property pos : Int32 # inherited from ExprCall
rule_name
Sourcesafe_to_memoize
Sourcesafe_to_memoize=(safe_to_memoize : Bool)
Sourcesafe_to_memoize?
Sourceseed_parse_tree
Sourceseed_parse_tree=(seed_parse_tree : ParseTree | Nil)
Sourceset_left_recursive(new_value : Bool)
Sourceset_resulted_in_left_recursion(new_value : Bool)
Sourceshould_grow_seed_maximally?
Sourceshould_recursive_application_grow_maximally?(child_rule_application)
Sourcesyntactic_rule?
Source