Package

razie.wiki

parser

Permalink

package parser

Visibility
  1. Public
  2. All

Type Members

  1. trait CsvParser extends ParserCommons

    Permalink

    delimited and table parser

  2. class DieselTextParser extends SimpleSpecParser with DomParser

    Permalink

    A simple parser for diesel specs

    A simple parser for diesel specs

    DomParser is the actual Diesel/Dom parser. We extend from it to include its functionality and then we add its parsing rules with withBlocks()

  3. case class DieselTextSpec(name: String, text: String) extends BaseTextSpec with Product with Serializable

    Permalink

    the simplest spec used in samples and tests - uses the Diesel-Dom parser

  4. case class DieselUrlTextSpec(url: String, name: String) extends BaseTextSpec with Product with Serializable

    Permalink

    the simplest remote spec, from URL

  5. trait DomParser extends ParserBase with ExprParser

    Permalink

    domain parser - for domain sections in a wiki

  6. class ExecutableCall extends ExecutableSync

    Permalink
  7. class ExecutableMsg extends ExecutableAsync

    Permalink
  8. class ExecutableValue extends ExecutableSync

    Permalink
  9. trait ParserBase extends ParserCommons

    Permalink

    wiki parser base definitions shared by different wiki parsers

  10. trait ParserCommons extends RegexParsers

    Permalink

    simple parsers

  11. trait SimpleSpecParser extends ParserBase with Tokens

    Permalink

    simple parser for example and tests.

    simple parser for example and tests. derived from WikiParserBase to reduce dependencies

  12. trait WikiDarkParser extends ParserBase

    Permalink

    elemnts for dark/light backgrounds

  13. trait WikiInlineScriptParser extends ParserBase

    Permalink

    parse dsl, fiddles and code specific fragments

  14. trait WikiParserMini extends ParserBase with CsvParser with Tokens

    Permalink

    minimal parser - use this instead of the WikiParserT if no wiki specific rules are needed,

    minimal parser - use this instead of the WikiParserT if no wiki specific rules are needed,

    i.e. you jsut want to parse the DomParser rules

  15. trait WikiParserNotes extends ParserBase

    Permalink

    Created by raz on 2014-11-20.

  16. trait WikiParserT extends WikiParserMini with CsvParser

    Permalink

    basic wiki parser - this is a trait so you can mix it in, together with other parser extensions, into your own parser

    basic wiki parser - this is a trait so you can mix it in, together with other parser extensions, into your own parser

    the major patterns recognized are:

    - markdown extensions - escape most html tags \[\[link to other wiki page\]\] \[\[\[link to wikipedia page\]\]\] {{markup and properties}}

    magic markup and properties

    .keyword markup // dot first char {{xxx multiline markup}} ... {{/xxx}} ::beg multiline markup ... ::end

    Each parsing rule creates a SState, which are flattened at the end to both update the WikiEntry as well as create the String representation of it - so you can be lazy in the SState.

Value Members

  1. object ParseWLink

    Permalink

    parse wiki links and ... expressions

  2. object WAST

    Permalink

    wiki AST - abstract syntax tree.

    wiki AST - abstract syntax tree.

    1. Wikis are parsed in AST 2. then folded into markdown with a context 3. then markdown is turned into html via markdown parser

Ungrouped