Sthx::TreeData
Tree consists of two parts: a "header" part with the tree's capture id,
begin character index, and span; and a "body" part. TreeData is this body
part. It is filled by callees and then wrapped in a tree by the caller after
it determines the end position. A tree cannot be constructed without knowing
the end position - and a tree "body", TreeData, can.
Constructors
Instance methods
Returns a string view of the value of the attribute with the given
name. If there is no such attribute, returns nil.
Returns the nth child tree.
Returns nil if n is out of bounds.
inspect(io, tree, inner, outer)
Source