Class

razie.diesel.engine

DomAst

Related Doc: package engine

Permalink

case class DomAst(value: Any, kind: String = AstKinds.GENERATED, children: ListBuffer[DomAst] = new ListBuffer[DomAst](), id: String = new ObjectId().toString) extends CanHtml with Product with Serializable

a tree node

kind is spec/sampled/generated/test etc

todo optimize tree structure, tree binding

todo need ID conventions to suit distributed services

Linear Supertypes
Serializable, Serializable, Product, Equals, CanHtml, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DomAst
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. CanHtml
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DomAst(value: Any, kind: String = AstKinds.GENERATED, children: ListBuffer[DomAst] = new ListBuffer[DomAst](), id: String = new ObjectId().toString)

    Permalink

Type Members

  1. type HasJ = AnyRef { def toj: Map[String,Any] }

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def append(other: DomAst)(implicit engine: DomEngine): Unit

    Permalink
  5. def appendAll(other: List[DomAst])(implicit engine: DomEngine): Unit

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val children: ListBuffer[DomAst]

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def collect[T](f: PartialFunction[DomAst, T]): List[T]

    Permalink
  10. def collect2[T](f: PartialFunction[(DomAst, Int), T]): List[T]

    Permalink
  11. def ea(e: String, a: String, title: String = "", wrap: Boolean = true): String

    Permalink

    format an html message span

    format an html message span

    wrap for EMsg where the kspan will wrap it anyways

    Definition Classes
    CanHtml
  12. def end: Unit

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def find(id: String): Option[DomAst]

    Permalink

    find in subtree, by id

  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. val id: String

    Permalink
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. var kind: String

    Permalink
  20. def meTos(level: Int, html: Boolean): String

    Permalink

    non-recursive tostring

  21. var moreDetails: String

    Permalink
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. def posInfo: List[Map[String, AnyRef]]

    Permalink

    GUI needs position info for surfing

  26. var prereq: List[String]

    Permalink
  27. var seqNo: Long

    Permalink

    execution sequence number - an engine is a single sequence

  28. def setKinds(kkk: String): DomAst

    Permalink
  29. def span(s: String, k: String = "default", title: String = "", extra: String = ""): String

    Permalink

    format an html keyword span

    format an html keyword span

    s

    the keyword

    k

    the color code

    title

    optional hover title

    extra

    optional other attrs

    Definition Classes
    CanHtml
  30. def spanClick(s: String, k: String = "default", title: String = "", extra: String = ""): String

    Permalink

    format a clickable span, which dumps content

    format a clickable span, which dumps content

    Definition Classes
    CanHtml
  31. var specs: List[Any]

    Permalink
  32. def start(seq: Long): Unit

    Permalink
  33. def status: String

    Permalink
  34. def status_=(s: String): Unit

    Permalink
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. var tend: Long

    Permalink

    timestamp started

  37. def toHtml(level: Int): String

    Permalink
  38. def toHtml: String

    Permalink

    this html works well in a diesel fiddle, use toHtmlInPage elsewhere

    this html works well in a diesel fiddle, use toHtmlInPage elsewhere

    Definition Classes
    DomAstCanHtml
  39. def toHtmlInPage: String

    Permalink

    as opposed to toHtml, this will produce an html that can be displayed in any page, not just the fiddle

  40. def toJson: Map[String, Any]

    Permalink
  41. def toString(): String

    Permalink
    Definition Classes
    DomAst → AnyRef → Any
  42. def toj: Map[String, Any]

    Permalink
  43. def tojchildren(kids: List[DomAst]): List[Any]

    Permalink
  44. def token(s: String, title: String = "", extra: String = ""): String

    Permalink

    * format an html element span

    * format an html element span

    Definition Classes
    CanHtml
  45. def tokenValue(s: String): String

    Permalink
    Definition Classes
    CanHtml
  46. var tstart: Long

    Permalink

    timestamp started

  47. var value: Any

    Permalink
  48. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. def withDetails(s: String): DomAst

    Permalink
  52. def withPrereq(s: List[String]): DomAst

    Permalink

    depends on other nodes by IDs

  53. def withSpec(s: Any): DomAst

    Permalink

    this node has a spec

  54. def withStatus(s: String): DomAst

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CanHtml

Inherited from AnyRef

Inherited from Any

Ungrouped