class

Arborist::TerminalTree

Inherits Arborist::ParseTree / Reference / Object

Constructors

new(str : 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) : TerminalTree
Source
parse_tree_type_specific_attributes_to_msgpack(packer : MessagePack::Packer)
Source
s_exp(indent : Int32 = 0) : String
Source
simple_s_exp
Source
str=(str : String)
Source
syntax_tree
Source
terminal?
Source