final case class RenderedTree(nodeType: slamdata.Predef.List[slamdata.Predef.String], label: slamdata.Predef.Option[slamdata.Predef.String], children: slamdata.Predef.List[RenderedTree]) extends Product with Serializable
- Alphabetic
- By Inheritance
- RenderedTree
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RenderedTree(nodeType: slamdata.Predef.List[slamdata.Predef.String], label: slamdata.Predef.Option[slamdata.Predef.String], children: slamdata.Predef.List[RenderedTree])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val children: slamdata.Predef.List[RenderedTree]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
diff(that: RenderedTree): RenderedTree
A tree that describes differences between two trees: - If the two trees are identical, the result is the same as (either) input.
A tree that describes differences between two trees: - If the two trees are identical, the result is the same as (either) input. - If the trees differ only in the labels on nodes, then the result has those nodes decorated with "[Changed] old -> new". - If a single node is unmatched on either side, it is decorated with "[Added]" or "[Deleted]". As soon as a difference is found and decorated, the subtree(s) beneath the decorated nodes are not inspected.
Node types are not compared or necessarily preserved.
-
def
draw: slamdata.Predef.Stream[slamdata.Predef.String]
A 2D String representation of this Tree, separated into lines.
A 2D String representation of this Tree, separated into lines. Based on scalaz Tree's show, but improved to use a single line per node, use unicode box-drawing glyphs, and to handle newlines in the rendered nodes.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val label: slamdata.Predef.Option[slamdata.Predef.String]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nodeType: slamdata.Predef.List[slamdata.Predef.String]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def retype(f: (slamdata.Predef.List[slamdata.Predef.String]) ⇒ slamdata.Predef.List[slamdata.Predef.String]): RenderedTree
- def simpleType: slamdata.Predef.Option[slamdata.Predef.String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )