Package

razie.tconf

parser

Permalink

package parser

helpers common to spec parsers

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

Type Members

  1. trait BaseAstNode extends AnyRef

    Permalink

    an AST node collects the result of a parser rule - base trait for all AST node types

  2. abstract class FoldingContext[+T <: DSpec, +U <: DUser] extends AnyRef

    Permalink

    folding context base class - contains the page being parsed and for which user

    folding context base class - contains the page being parsed and for which user

    we use these to defer execution of different elements during parsing. These contain the context in which the current parse works.

  3. class JMapFoldingContext[T <: DSpec, U <: DUser] extends FoldingContext[T, U]

    Permalink

    folding context using a map for the properties available to evaluate expressions

  4. case class LazyAstNode[T <: DSpec, U <: DUser](f: (StrAstNode, FoldingContext[T, U]) ⇒ StrAstNode) extends BaseAstNode with Product with Serializable

    Permalink

    lazy AST node - value computed when they're folded.

    lazy AST node - value computed when they're folded.

    By default a lazy state will cause a non cacheable wiki

  5. case class LeafAstNode(s: String, other: BaseAstNode, props: Map[String, String] = Map.empty, ilinks: List[Any] = List.empty) extends BaseAstNode with Product with Serializable

    Permalink

    leaf AST node - final computed value

  6. case class ListAstNode(states: BaseAstNode*) extends BaseAstNode with Product with Serializable

    Permalink

    a list of AST nodes - it's a branch in the AST tree

  7. case class StrAstNode(s: String, props: Map[String, String] = Map.empty, ilinks: List[Any] = List.empty) extends BaseAstNode with Product with Serializable

    Permalink

    leaf AST node - final computed value

    leaf AST node - final computed value

    s

    the string representation of this section

    props

    the tags collected from this section, will be added to the page's tags

    ilinks

    the links to other pages collected in this rule

  8. case class TriAstNode(prefix: String, mid: BaseAstNode, suffix: String) extends BaseAstNode with Product with Serializable

    Permalink

    an aggregation AST node - pattern is: prefix+midAST+suffix

Value Members

  1. object SpecParserSettings

    Permalink

    global spec parser settings

  2. object StrAstNode extends Serializable

    Permalink
  3. final val T_PREPROCESS: String("pre")

    Permalink
  4. final val T_TEMPLATE: String("template")

    Permalink
  5. final val T_VIEW: String("view")

    Permalink
  6. implicit def toLState(s: Seq[BaseAstNode]): BaseAstNode

    Permalink
  7. implicit def toSState(s: String): BaseAstNode

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped