TextTreeGenericOps
Core operations for TextTree
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Convert tree values using an implicit conversion
Convert tree values using an implicit conversion
Attributes
Render tree to string using .toString on values
Render tree to string using .toString on values
Attributes
Flatten nested Node structures into a single-level Node
Flatten nested Node structures into a single-level Node
Attributes
Apply a side-effecting function to all typed values
Apply a side-effecting function to all typed values
Attributes
Check if tree is empty (no values and only empty text)
Check if tree is empty (no values and only empty text)
Attributes
Get the last character from string nodes, if any
Get the last character from string nodes, if any
Attributes
Transform all typed values in the tree
Transform all typed values in the tree
Attributes
Render tree to string, converting values with provided function
Render tree to string, converting values with provided function
Attributes
Check if tree is non-empty
Check if tree is non-empty
Attributes
Get a list of string nodes (values ingored)
Get a list of string nodes (values ingored)
Attributes
Render tree to string (only for trees without typed values)
Render tree to string (only for trees without typed values)
Attributes
Wrap tree in Shift node to indent by specified spaces when rendering
Wrap tree in Shift node to indent by specified spaces when rendering
Attributes
Strip margin from string nodes using custom margin character
Strip margin from string nodes using custom margin character
Attributes
Strip margin from string nodes using default '|' margin character
Strip margin from string nodes using default '|' margin character
Attributes
Wrap tree in Trim node to trim whitespace when rendering
Wrap tree in Trim node to trim whitespace when rendering
Attributes
Extract all typed values from the tree
Extract all typed values from the tree