abstract class
Sheen::Tree::Node
- Sheen::Tree::Node
- Reference
- Object
Overview
A node in a tree. A Branch with children, or a Leaf without.
Direct Known Subclasses
Defined in:
sheen/tree.crInstance Method Summary
-
#children : Children
The node's children, empty for a
Leaf. -
#hidden? : Bool
If this node is hidden from rendering or not.
-
#to_s(io : IO) : Nil
Renders the node as its value.
-
#value : String
The node's display value.