object Node extends Serializable

Companion object to Node.

Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Node
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. 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.

  18. 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.

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped