Class

razie.diesel.ext

ExpectV

Related Doc: package ext

Permalink

case class ExpectV(not: Boolean, pm: MatchAttrs, cond: Option[EIf] = None) extends CanHtml with HasPosition with Product with Serializable

test - expect a value or more. optional guard

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

Instance Constructors

  1. new ExpectV(not: Boolean, pm: MatchAttrs, cond: Option[EIf] = None)

    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 applicable(a: Attrs)(implicit ctx: ECtx): Boolean

    Permalink

    check to match the arguments

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val cond: Option[EIf]

    Permalink
  8. 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
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def kspan(s: String, k: String = "default", overwritePos: Option[EPos] = Some(EPos.EMPTY), title: Option[String] = None, kind: Option[String] = None): String

    Permalink

    key span with possible link.

    key span with possible link. pass None to not have a link

    Definition Classes
    HasPosition
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. val not: Boolean

    Permalink
  16. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  18. val pm: MatchAttrs

    Permalink
  19. var pos: Option[EPos]

    Permalink
    Definition Classes
    ExpectVHasPosition
  20. def sketch(cole: Option[MatchCollector] = None)(implicit ctx: ECtx): Attrs

    Permalink

    check to match the arguments

  21. 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
  22. 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
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. var target: Option[DomAst]

    Permalink
  25. def test(a: Attrs, cole: Option[MatchCollector] = None, nodes: List[DomAst])(implicit ctx: ECtx): Boolean

    Permalink

    check to match the arguments

    check to match the arguments

    a

    results of previous tree/message or Nil for context-only matches

    cole

    collector for debugging info

    nodes

    nodes that were targeted, to reference in collectors

  26. def toHtml: String

    Permalink
    Definition Classes
    ExpectVCanHtml
  27. def toString(): String

    Permalink
    Definition Classes
    ExpectV → AnyRef → Any
  28. def token(s: String, title: String = "", extra: String = ""): String

    Permalink

    * format an html element span

    * format an html element span

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

    Permalink
    Definition Classes
    CanHtml
  30. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. var when: Option[EMatch]

    Permalink
  34. def withGuard(guard: Option[EMatch]): ExpectV

    Permalink
  35. def withPos(p: Option[EPos]): ExpectV

    Permalink
  36. def withTarget(p: Option[DomAst]): ExpectV

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from HasPosition

Inherited from CanHtml

Inherited from AnyRef

Inherited from Any

Ungrouped