class Arborist::ApplyCall
- Arborist::ApplyCall
- Arborist::ExprCall
- Reference
- Object
Defined in:
arborist.crConstructors
Instance Method Summary
-
#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 suppliedcandidate_seed_parse_tree
. - #child_recursive_calls : Set(ApplyCall)
- #child_recursive_calls=(child_recursive_calls : Set(ApplyCall))
- #grew_seed_maximally : Bool
- #grew_seed_maximally!
- #grew_seed_maximally=(grew_seed_maximally : Bool)
- #grew_seed_maximally? : Bool
- #has_not_yet_resulted_in_lower_level_seed_growth!
- #inspect(io)
- #left_recursive : Bool
- #left_recursive=(left_recursive : Bool)
-
#left_recursive? : Bool
returns true if this rule application is left recursive at
@pos
; false otherwise - #log_child_recursive_call(child_recursive_call)
- #not_safe_to_memoize!
- #parent_of_recursive_call : ApplyCall | Nil
- #parent_of_recursive_call=(parent_of_recursive_call : ApplyCall | Nil)
- #remove_all_child_recursive_calls
- #remove_child_recursive_call(child_recursive_call)
- #remove_self_from_parent_recursive_call
- #resulted_in_deeper_level_seed_growth!
- #resulted_in_deeper_level_seed_growth? : Bool
- #resulted_in_left_recursion : Bool
- #resulted_in_left_recursion=(resulted_in_left_recursion : Bool)
- #resulted_in_left_recursion? : Bool
-
#rule : Rule
property expr : Expr # inherited from ExprCall property pos : Int32 # inherited from ExprCall
- #rule_name
- #safe_to_memoize : Bool
- #safe_to_memoize=(safe_to_memoize : Bool)
- #safe_to_memoize? : Bool
- #seed_parse_tree : ParseTree | Nil
- #seed_parse_tree=(seed_parse_tree : ParseTree | Nil)
- #set_left_recursive(new_value : Bool)
- #set_parent_of_recursive_call(parent_call : Nil | Arborist::ApplyCall)
- #set_resulted_in_left_recursion(new_value : Bool)
- #should_grow_seed_maximally?
- #should_recursive_application_grow_maximally?(child_rule_application)
- #syntactic_rule?
Instance methods inherited from class Arborist::ExprCall
expr : Expr
expr,
expr=(expr : Expr)
expr=,
inspect(io)
inspect,
pos : Int32
pos,
pos=(pos : Int32)
pos=
Constructor methods inherited from class Arborist::ExprCall
new(expr : Arborist::Apply | Arborist::Choice | Arborist::Dot | Arborist::MutexAlt | Arborist::NegLookAhead | Arborist::Optional | Arborist::PosLookAhead | Arborist::Repetition | Arborist::RepetitionOnePlus | Arborist::Sequence | Arborist::Terminal, pos : Int32)
new
Constructor Detail
Instance Method Detail
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
)
returns true if this rule application is left recursive at @pos
; false otherwise
property expr : Expr # inherited from ExprCall property pos : Int32 # inherited from ExprCall