Package

razie.diesel

ext

Permalink

package ext

simple, neutral domain model representation: class/object/function

These are collected in RDomain

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ext
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Attrs = List[P]

    Permalink
  2. case class BFlowExpr(b: FlowExpr) extends FlowExpr with Product with Serializable

    Permalink

    a block of a flow expr, i.e.

    a block of a flow expr, i.e. in brackets

  3. trait CanHtml extends AnyRef

    Permalink

    instances have an toHtml method

  4. case class EDuration(millis: Long, msg: String = "") extends CanHtml with InfoNode with Product with Serializable

    Permalink

    duration of the curent op

  5. case class EEngStop(msg: String, details: String = "") extends CanHtml with HasPosition with InfoNode with Product with Serializable

    Permalink

    error and stop engine

  6. case class EEngSuspend(msg: String, details: String = "", onSuspend: Option[(DomEngine, DomAst, Int) ⇒ Unit]) extends CanHtml with HasPosition with InfoNode with Product with Serializable

    Permalink

    suspend execution - presumably waiting for someone to continue this branch

    suspend execution - presumably waiting for someone to continue this branch

    use onSuspend to start the async message (like sending a DeRep) - you'll have control next

  7. case class EError(msg: String, details: String = "") extends CanHtml with HasPosition with InfoNode with Product with Serializable

    Permalink

    some error, with a message and details

  8. case class EFlow(e: EMatch, ex: FlowExpr) extends CanHtml with EApplicable with HasPosition with Product with Serializable

    Permalink

    flows seq/par and depys are processed directly by the engine

  9. trait EIf extends CanHtml

    Permalink
  10. case class EIfc(cond: BoolExpr) extends CanHtml with EIf with Product with Serializable

    Permalink
  11. case class EIfm(attrs: MatchAttrs) extends CanHtml with EIf with Product with Serializable

    Permalink
  12. case class EInfo(msg: String, details: String = "") extends CanHtml with HasPosition with InfoNode with Product with Serializable

    Permalink

    a simple info node with a message and details - details are displayed as a popup

  13. case class EInfoWrapper(a: Any) extends CanHtml with HasPosition with InfoNode with Product with Serializable

    Permalink

    a simple wrapper

  14. abstract class EMap extends CanHtml with HasPosition

    Permalink
  15. case class EMapCls(cls: String, met: String, attrs: Attrs, arrow: String = "=>", cond: Option[EIf] = None) extends EMap with Product with Serializable

    Permalink

    mapping a message - a decomposition rule (right hand side of =>)

    mapping a message - a decomposition rule (right hand side of =>)

    attrs

    name = expr

  16. case class EMapPas(attrs: List[PAS], arrow: String = "=>", cond: Option[EIf] = None) extends EMap with Product with Serializable

    Permalink

    special case of map, just assigning exprs

  17. case class EMatch(cls: String, met: String, attrs: MatchAttrs, cond: Option[EIf] = None) extends CanHtml with Product with Serializable

    Permalink
  18. case class EMock(rule: ERule) extends CanHtml with HasPosition with Product with Serializable

    Permalink
  19. case class EMsg(entity: String, met: String, attrs: List[P] = Nil, arch: String = "", ret: List[P] = Nil, stype: String = "") extends CanHtml with HasPosition with DomAstInfo with Product with Serializable

    Permalink

    a message

  20. case class EMsgPas(attrs: List[PAS] = Nil) extends CanHtml with HasPosition with DomAstInfo with Product with Serializable

    Permalink

    simple assignment - needed because the left side is more than just a val

  21. case class ENext(msg: EMsg, arrow: String, cond: Option[EIf] = None, deferred: Boolean = false) extends CanHtml with Product with Serializable

    Permalink

    just a call to next.

    just a call to next.

    This is used to wrap async spawns ==> and normal => when there's more than one (they start one at a time)

    msg

    the message wrapped / to be executed next

    arrow

    - how to call next: wait => or no wait ==>

    cond

    optional condition for this step

  22. case class ENextPas(msg: EMsgPas, arrow: String, cond: Option[EIf] = None, deferred: Boolean = false) extends CanHtml with Product with Serializable

    Permalink

    just a call to next.

    just a call to next.

    This is used to wrap async spawns ==> and normal => when there's more than one (they start one at a time)

    msg

    the message wrapped / to be executed next

    arrow

    - how to call next: wait => or no wait ==>

    cond

    optional condition for this step

  23. case class ERule(e: EMatch, arch: String, i: List[EMap]) extends CanHtml with EApplicable with HasPosition with Product with Serializable

    Permalink

    $when - match and decomposition rule

    $when - match and decomposition rule

    e

    the match that triggers this rule

    arch

    archetype or tags

    i

    the mappings to execute

  24. case class EVal(p: P) extends CanHtml with HasPosition with Product with Serializable

    Permalink
  25. case class EWarning(msg: String, details: String = "") extends CanHtml with HasPosition with InfoNode with Product with Serializable

    Permalink

    some error, with a message and details

  26. case class ExpectAssert(not: Boolean, exprs: List[BoolExpr]) extends CanHtml with HasPosition with Product with Serializable

    Permalink

    test - expect a value or more.

    test - expect a value or more. optional guard

  27. case class ExpectM(not: Boolean, m: EMatch) extends CanHtml with HasPosition with Product with Serializable

    Permalink

    test - expect a message m.

    test - expect a message m. optional guard

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

    Permalink

    test - expect a value or more.

    test - expect a value or more. optional guard

  29. class FlowExpr extends AnyRef

    Permalink

    base class for flow expressions

  30. trait HasPosition extends AnyRef

    Permalink
  31. type MatchAttrs = List[PM]

    Permalink
  32. class MatchCollector extends AnyRef

    Permalink

    collects the intermediary tests for a match, when looknig for expectations

  33. case class MsgExpr(ea: String) extends FlowExpr with Product with Serializable

    Permalink

    a single message in a flow

  34. case class SeqExpr(op: String, l: Seq[FlowExpr]) extends FlowExpr with Product with Serializable

    Permalink

    either sequence or parallel

  35. class SingleMatch extends AnyRef

    Permalink

    a single match, collected when looking for expectations

Value Members

  1. object CanHtml

    Permalink
  2. object EErrorUtils

    Permalink
  3. object EMap

    Permalink
  4. object EMsg extends Serializable

    Permalink
  5. object EnginePrep extends Logging

    Permalink

    engine prep utilities: load stories, parse DOMs etc

  6. def flattenJson(p: P)(implicit ctx: ECtx): Attrs

    Permalink
  7. def htmlValue(s: String): String

    Permalink

    prep for display

  8. def regexm(re: String, str: String): Boolean

    Permalink

    check if it matches a regex

  9. def sketchAttrs(defs: MatchAttrs, cole: Option[MatchCollector] = None)(implicit ctx: ECtx): Attrs

    Permalink

    check to match the arguments

  10. def stripQuotes(s: String): String

    Permalink
  11. def testA(in: Attrs, cond: MatchAttrs, cole: Option[MatchCollector] = None, foundName: Option[(P) ⇒ Unit] = None, positive: Boolean = true)(implicit ctx: ECtx): Boolean

    Permalink

    matching attrs

    matching attrs

    cole

    collector for match/fail

    foundName

    opt function to mark value in collector

    positive

    - false if the condition is negative, like filterNot (a,b,c) they occur in whatever sequence (1,b,c) it occurs in position with value (a=1) it occurs with value

  12. def toHtmlAttrs(attrs: Attrs): String

    Permalink
  13. def toHtmlMAttrs(attrs: MatchAttrs): String

    Permalink
  14. def toHtmlPAttrs(attrs: List[PAS]): String

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped