TreeWriter

com.phasmidsoftware.tableparser.core.write.TreeWriter
trait TreeWriter[U]

This trait defines the behavior of a hierarchical writer of objects. For example, U might be defined as an HTML or XML document. TreeWriter is of course typically used as a type class.

CONSIDER parameterizing the underlying type of the content parameter.

Type parameters

U

the type of a node of the tree.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def evaluate(node: Node): U

This method is required to convert a Node into a U.

This method is required to convert a Node into a U.

Value parameters

node

the Node to be converted.

Attributes

Returns

an instance of U.