Trait

razie.tconf

DSpec

Related Doc: package tconf

Permalink

trait DSpec extends AnyRef

a specification - can be a text, a wiki or anything else we can parse to extract some piece of configuration

Specifications are meant to be parsed and DOM/diesel elements collected. Also, they are addressable (specPath)

We do not concern with the way these are found - that's the inventory, but usually they are passed into an engine etc

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

Abstract Value Members

  1. abstract def allProps: Map[String, String]

    Permalink

    all properties contained in this spec, in various forms

  2. abstract def collector: HashMap[String, Any]

    Permalink

    other parsing artifacts to be used by knowledgeable modules.

    other parsing artifacts to be used by knowledgeable modules. Parsers can put stuff in here.

  3. abstract def content: String

    Permalink

    original text content, not pre-processed - this is generally useless

  4. abstract def contentPreProcessed: String

    Permalink

    the content, pre-processed, with includes and macros expanded etc.

    the content, pre-processed, with includes and macros expanded etc. But no parsing done

    NOTE this is not a different representation, like html or something... it is just the content, pre-processed

    todo should be an Either

  5. abstract def findSection(p: (DTemplate) ⇒ Boolean): Option[DTemplate]

    Permalink

    find template with predicate

  6. abstract def findSection(name: String, tags: String = ""): Option[DTemplate]

    Permalink
  7. abstract def parsed: String

    Permalink

    the content, pre-processed, with includes expanded etc.

    the content, pre-processed, with includes expanded etc.

    NOTE this is not a different representation, like html or something... it is just the content, pre-processed

    the assumption is that specs can parse themselves and cache the AST elements

    errors must contain "CANNOT PARSE" and more information

    todo parsed should be an Either

  8. abstract def specPath: TSpecPath

    Permalink
  9. abstract def tags: Seq[String]

    Permalink

Concrete 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. var cacheable: Boolean

    Permalink

    set during parsing and folding - false if page has any user-specific elements any scripts or such will make this false this is very pessimistic right now for safety issues: even a whiff of non-static content will turn this off

  6. def cat: String

    Permalink

    category - you can categorize the specs

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  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. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. def isDraft: Boolean

    Permalink

    we support draft specs vs non=draft (published)

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. def visibility: String

    Permalink

    visibility of this spec - see razie.tconf.Visibility

  21. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped