package common
- Alphabetic
- Public
- All
Type Members
-
trait
CodeParserBase extends Parser[Seq[CodeSpan]] with PrefixedParser[Seq[CodeSpan]] with CodeSpanParser
Convenient base trait that allows for passing the implementing instances anywhere either a
PrefixedParser[Seq[CodeSpan]]
or aCodeSpanParser
is required for easier composition. -
trait
TagBasedFormats extends AnyRef
Configurable base parsers for tag based formats like HTML or XML.
-
case class
TagParser(tagCategory: (String) ⇒ CodeCategory, start: String, end: String, tagName: PrefixedParser[String] = TagParser.nameParser.map(_.content), embedded: Seq[CodeSpanParser] = Nil) extends Parser[Seq[CodeSpan]] with CodeParserBase with Product with Serializable
Configurable base parser for tags in formats like HTML or XML.
Value Members
-
object
CharLiteral
Configurable base parsers for character literals.
-
object
Comment
Configurable base parsers for comments in code blocks.
-
object
EmbeddedCodeSpans
Factories for creating a span parser that detects other syntax as part of the span.
-
object
Identifier
Configurable base parsers for identifiers in code blocks.
-
object
Keywords
Base parsers for keywords in code blocks.
-
object
NumberLiteral
Configurable base parsers for number literals.
-
object
NumericSuffix
Common suffixes for number literal denoting the number type.
-
object
RegexLiteral
Base parsers for regular expression literals in code blocks.
-
object
StringLiteral
Configurable base parsers for string literals.
- object TagParser extends Serializable