object Node extends Serializable
Companion object to Node.
- Alphabetic
- By Inheritance
- Node
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- def apply(style: String, attributes: Map[String, String], children: Seq[Node]): Node
Create a Node with no content.
Create a Node with no content.
- style
a label that characterizes a particular node type. This will typically be translated directly into the "tag" parameter of the corresponding U type.
- attributes
the attributes of this Node (may be empty).
- children
the children of this Node (may be empty).
- returns
a new Node.
- def apply(style: String, children: Seq[Node]): Node
Create a Node with only style and children.
Create a Node with only style and children.
- style
a label that characterizes a particular node type. This will typically be translated directly into the "tag" parameter of the corresponding U type.
- children
the children of this Node (may be empty).
- returns
a new Node.
- def apply(style: String): Node
Create a content-less, no-attribute, leaf Node (with no children).
Create a content-less, no-attribute, leaf Node (with no children). NOTE: I'm not sure if this makes sense and is only used by unit tests.
- style
a label that characterizes a particular node type. This will typically be translated directly into the "tag" parameter of the corresponding U type.
- returns
a new Node.
- def apply(style: String, content: Option[String], attributes: Map[String, String]): Node
Create a leaf Node (with no children).
Create a leaf Node (with no children).
- style
a label that characterizes a particular node type. This will typically be translated directly into the "tag" parameter of the corresponding U type.
- content
the content of this Node, if any.
- attributes
the attributes of this Node (may be empty).
- returns
a new Node.
- def apply(style: String, attributes: Map[String, String]): Node
Create a content-less leaf Node (with no children).
Create a content-less leaf Node (with no children). NOTE: I'm not sure if this makes sense and is only used by unit tests.
- style
a label that characterizes a particular node type. This will typically be translated directly into the "tag" parameter of the corresponding U type.
- attributes
the attributes of this Node (may be empty).
- returns
a new Node.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mergeLeft(left: Node, right: Node): Node
TODO can eliminate
TODO can eliminate
Merge two Nodes together, taking the style, content (if any) and attributes from the left node.
- left
the left Node (its children will precede the children of the right Node).
- right
the right Node (its children will succeed the children of the left Node).
- returns
a new Node containing all the children of the left and right.
- def mergeRight(left: Node, right: Node): Node
TODO can eliminate
TODO can eliminate
Merge two Nodes together, taking the style, content (if any) and attributes from the right node.
- left
the left Node (its children will precede the children of the right Node).
- right
the right Node (its children will succeed the children of the left Node).
- returns
a new Node containing all the children of the left and right.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()