class

Arborist::ApplyTree

Inherits Arborist::ParseTree / Reference / Object

Constructors

new(tree : Arborist::ParseTree, rule_name : String, input : CharArray, start_pos, finishing_pos)
Source

Instance methods

children

children returns the list of all actual/literal child ParseTree nodes in parse tree structure, rather than skipping some, as with #terms Another way of thinking about this is #children returns concrete children, #terms returns logical children.

Source
label(label : String | Nil) : ApplyTree
Source
parse_tree_type_specific_attributes_to_msgpack(packer : MessagePack::Packer)
Source
rule_name
Source
rule_name=(rule_name : String)
Source
s_exp(indent : Int32 = 0) : String
Source
simple_s_exp
Source
syntax_tree
Source
tree
Source
tree=(tree : ParseTree)
Source
visit(visitor : Visitor(R)) : R forall R
Source