Utility methods for Trees
- Companion
- object
Value members
Concrete methods
map a Tree from leaves to root by replacing each node with the result of a function taking that node and the mapping of all its children.
map a Tree from leaves to root by replacing each node with the result of a function taking that node and the mapping of all its children.
This is used in JUnit to map a Tree[Description] where no Description objects are related to a Tree[Description] where each node returns the children nodes on the "getChildren" method
remove nodes from a tree if they are None according to a function f
remove nodes from a tree if they are None according to a function f
Givens
Extensions
Extensions
extension methods for the Tree trait
extension methods for the Tree trait
Implicit definition to add more functionalities to the TreeLoc class
Implicit definition to add more functionalities to the TreeLoc class
Implicit definition to add more functionalities to the TreeLoc class
Implicit definition to add more functionalities to the TreeLoc class
Implicit definition to add more functionalities to the TreeLoc class
Implicit definition to add more functionalities to the TreeLoc class
Implicit definition to add more functionalities to the TreeLoc class
Implicit definition to add more functionalities to the TreeLoc class
Implicit definition to add more functionalities to the TreeLoc class
Implicit definition to add more functionalities to the TreeLoc class
Implicit definition to add more functionalities to the TreeLoc class
Implicit definition to add more functionalities to the TreeLoc class