Class

org.fusesource.scalate.ssp

SspParser

Related Doc: package ssp

Permalink

class SspParser extends ScalaParseSupport

Parser for the SSP template language

Source
SspParser.scala
Linear Supertypes
ScalaParseSupport, RegexParsers, Parsers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SspParser
  2. ScalaParseSupport
  3. RegexParsers
  4. Parsers
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SspParser()

    Permalink

Type Members

  1. type Elem = Char

    Permalink
    Definition Classes
    RegexParsers → Parsers
  2. case class Error extends NoSuccess with Product with Serializable

    Permalink
    Definition Classes
    Parsers
  3. case class Failure extends NoSuccess with Product with Serializable

    Permalink
    Definition Classes
    Parsers
  4. type Input = Reader[Elem]

    Permalink
    Definition Classes
    Parsers
  5. sealed abstract class NoSuccess extends ParseResult[Nothing]

    Permalink
    Definition Classes
    Parsers
  6. trait OnceParser[+T] extends Parser[T]

    Permalink
    Definition Classes
    Parsers
  7. sealed abstract class ParseResult[+T] extends AnyRef

    Permalink
    Definition Classes
    Parsers
  8. abstract class Parser[+T] extends (Input) ⇒ ParseResult[T]

    Permalink
    Definition Classes
    Parsers
  9. case class Success[+T] extends ParseResult[T] with Product with Serializable

    Permalink
    Definition Classes
    Parsers
  10. case class ~[+a, +b] extends Product with Serializable

    Permalink
    Definition Classes
    Parsers

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from SspParser to any2stringadd[SspParser] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (SspParser, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from SspParser to ArrowAssoc[SspParser] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. val EofCh: Char

    Permalink
    Definition Classes
    ScalaParseSupport
  7. object NoSuccess

    Permalink
    Definition Classes
    Parsers
  8. def OnceParser[T](f: (Input) ⇒ ParseResult[T]): Parser[T] with OnceParser[T]

    Permalink
    Definition Classes
    Parsers
  9. def Parser[T](f: (Input) ⇒ ParseResult[T]): Parser[T]

    Permalink
    Definition Classes
    Parsers
  10. def accept[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]

    Permalink
    Definition Classes
    ScalaParseSupport → Parsers
  11. def accept[ES](es: ES)(implicit f: (ES) ⇒ List[Elem]): Parser[List[Elem]]

    Permalink
    Definition Classes
    Parsers
  12. implicit def accept(e: Elem): Parser[Elem]

    Permalink
    Definition Classes
    Parsers
  13. def acceptIf(p: (Elem) ⇒ Boolean)(err: (Elem) ⇒ String): Parser[Elem]

    Permalink
    Definition Classes
    Parsers
  14. def acceptMatch[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]

    Permalink
    Definition Classes
    Parsers
  15. def acceptSeq[ES](es: ES)(implicit f: (ES) ⇒ Iterable[Elem]): Parser[List[Elem]]

    Permalink
    Definition Classes
    Parsers
  16. val altCommentFragment: Parser[CommentFragment]

    Permalink
  17. lazy val anyChar: Parser[Char]

    Permalink
    Definition Classes
    ScalaParseSupport
  18. val anySpace: Parser[Text]

    Permalink
  19. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  20. val attribute: Parser[AttributeFragment]

    Permalink
  21. val attributeFragement: Parser[AttributeFragment]

    Permalink
  22. def caseExpression: Parser[CaseFragment]

    Permalink
  23. def chainl1[T, U](first: ⇒ Parser[T], p: ⇒ Parser[U], q: ⇒ Parser[(T, U) ⇒ T]): Parser[T]

    Permalink
    Definition Classes
    Parsers
  24. def chainl1[T](p: ⇒ Parser[T], q: ⇒ Parser[(T, T) ⇒ T]): Parser[T]

    Permalink
    Definition Classes
    Parsers
  25. def chainr1[T, U](p: ⇒ Parser[T], q: ⇒ Parser[(T, U) ⇒ U], combine: (T, U) ⇒ U, first: U): Parser[U]

    Permalink
    Definition Classes
    Parsers
  26. lazy val charEscapeSeq: Parser[Char]

    Permalink
    Definition Classes
    ScalaParseSupport
  27. lazy val characterLiteral: Parser[String]

    Permalink
    Definition Classes
    ScalaParseSupport
  28. def chrExcept(cs: Char*): Parser[Char]

    Permalink
    Definition Classes
    ScalaParseSupport
  29. def chrOf(cs: String): Parser[Char]

    Permalink
    Definition Classes
    ScalaParseSupport
  30. def chrOf(cs: Char*): Parser[Char]

    Permalink
    Definition Classes
    ScalaParseSupport
  31. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. val commentFragment: Parser[CommentFragment]

    Permalink
  33. def commit[T](p: ⇒ Parser[T]): Parser[T]

    Permalink
    Definition Classes
    Parsers
  34. def directives: Parser[PageFragment]

    Permalink
  35. def doExpression: Parser[DoFragment]

    Permalink
  36. val dollarExpressionFragment: Parser[DollarExpressionFragment]

    Permalink
  37. lazy val doubleQuotedChars: Parser[String]

    Permalink
    Definition Classes
    ScalaParseSupport
  38. def dquoted[T](p: Parser[T]): Parser[T]

    Permalink
    Definition Classes
    ScalaParseSupport
  39. def elem(e: Elem): Parser[Elem]

    Permalink
    Definition Classes
    Parsers
  40. def elem(kind: String, p: (Elem) ⇒ Boolean): Parser[Elem]

    Permalink
    Definition Classes
    Parsers
  41. def elseExpression: Parser[ElseFragment]

    Permalink
  42. def elseIfExpression: Parser[ElseIfFragment]

    Permalink
  43. def emptyDirective(name: String): Parser[Text]

    Permalink
  44. def endExpression: Parser[EndFragment]

    Permalink
  45. def ensuring(cond: (SspParser) ⇒ Boolean, msg: ⇒ Any): SspParser

    Permalink
    Implicit information
    This member is added by an implicit conversion from SspParser to Ensuring[SspParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  46. def ensuring(cond: (SspParser) ⇒ Boolean): SspParser

    Permalink
    Implicit information
    This member is added by an implicit conversion from SspParser to Ensuring[SspParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  47. def ensuring(cond: Boolean, msg: ⇒ Any): SspParser

    Permalink
    Implicit information
    This member is added by an implicit conversion from SspParser to Ensuring[SspParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  48. def ensuring(cond: Boolean): SspParser

    Permalink
    Implicit information
    This member is added by an implicit conversion from SspParser to Ensuring[SspParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  49. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  51. def err(msg: String): Parser[Nothing]

    Permalink
    Definition Classes
    Parsers
  52. def expressionDirective[T](p: Parser[T]): Parser[Text]

    Permalink
  53. def expressionDirective(name: String): Parser[Text]

    Permalink
  54. val expressionFragment: Parser[ExpressionFragment]

    Permalink
  55. def failure(msg: String): Parser[Nothing]

    Permalink
    Definition Classes
    Parsers
  56. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  57. def forExpression: Parser[ForFragment]

    Permalink
  58. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from SspParser to StringFormat[SspParser] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  59. def getAttribute(in: String): AttributeFragment

    Permalink
  60. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  61. def getPageFragments(in: String): List[PageFragment]

    Permalink
  62. def guard[T](p: ⇒ Parser[T]): Parser[T]

    Permalink
    Definition Classes
    Parsers
  63. def guarded[T, U](p1: Parser[T], p2: Parser[U]): Parser[U]

    Permalink

    Once p1 is matched, disable backtracking.

    Once p1 is matched, disable backtracking. Does not consume p1 and yields the result of p2

    Definition Classes
    ScalaParseSupport
  64. def handleWhiteSpace(source: CharSequence, offset: Int): Int

    Permalink
    Attributes
    protected
    Definition Classes
    RegexParsers
  65. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  66. lazy val hexDigit: Parser[Char]

    Permalink
    Definition Classes
    ScalaParseSupport
  67. val identifier: Parser[Text]

    Permalink
  68. def ifExpression: Parser[IfFragment]

    Permalink
  69. def importExpression: Parser[ImportFragment]

    Permalink
  70. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  71. implicit def literal(s: String): Parser[String]

    Permalink
    Definition Classes
    RegexParsers
  72. val literalPart: Parser[Text]

    Permalink
  73. def log[T](p: ⇒ Parser[T])(name: String): Parser[T]

    Permalink
    Definition Classes
    Parsers
  74. def matchExpression: Parser[MatchFragment]

    Permalink
  75. def mkList[T]: (~[T, List[T]]) ⇒ List[T]

    Permalink
    Definition Classes
    Parsers
  76. lazy val multiLineChars: Parser[String]

    Permalink
    Definition Classes
    ScalaParseSupport
  77. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  78. val nonParenText: Parser[String]

    Permalink
  79. def not[T](p: ⇒ Parser[T]): Parser[Unit]

    Permalink
    Definition Classes
    Parsers
  80. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  82. lazy val octalDigit: Parser[Char]

    Permalink
    Definition Classes
    ScalaParseSupport
  83. lazy val octalEscapeSeq: Parser[Char]

    Permalink
    Definition Classes
    ScalaParseSupport
  84. def opt[T](p: ⇒ Parser[T]): Parser[Option[T]]

    Permalink
    Definition Classes
    Parsers
  85. def otherwiseExpression: Parser[OtherwiseFragment]

    Permalink
  86. val pageFragment: Parser[PageFragment]

    Permalink
  87. val pageFragments: Parser[List[PageFragment]]

    Permalink
  88. def parse[T](p: Parser[T], in: Reader): ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  89. def parse[T](p: Parser[T], in: CharSequence): ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  90. def parse[T](p: Parser[T], in: Reader[Char]): ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  91. def parseAll[T](p: Parser[T], in: CharSequence): ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  92. def parseAll[T](p: Parser[T], in: Reader): ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  93. def parseAll[T](p: Parser[T], in: Reader[Char]): ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  94. def phrase[T](p: Parser[T]): Parser[T]

    Permalink
    Definition Classes
    RegexParsers → Parsers
  95. def positioned[T <: Positional](p: ⇒ Parser[T]): Parser[T]

    Permalink
    Definition Classes
    RegexParsers → Parsers
  96. def prefixed[T, U](p1: Parser[T], p2: Parser[U]): Parser[U]

    Permalink

    Once p1 is matched, disable backtracking.

    Once p1 is matched, disable backtracking. Consumes p1 and yields the result of p2

    Definition Classes
    ScalaParseSupport
  97. implicit def regex(r: Regex): Parser[String]

    Permalink
    Definition Classes
    RegexParsers
  98. def rep[T](p: ⇒ Parser[T]): Parser[List[T]]

    Permalink
    Definition Classes
    Parsers
  99. def rep1[T](first: ⇒ Parser[T], p0: ⇒ Parser[T]): Parser[List[T]]

    Permalink
    Definition Classes
    Parsers
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The p0 call-by-name arguments is evaluated at most once per constructed Parser object, instead of on every need that arises during parsing.

  100. def rep1[T](p: ⇒ Parser[T]): Parser[List[T]]

    Permalink
    Definition Classes
    Parsers
  101. def rep1sep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[List[T]]

    Permalink
    Definition Classes
    Parsers
  102. def repN[T](num: Int, p: ⇒ Parser[T]): Parser[List[T]]

    Permalink
    Definition Classes
    Parsers
  103. def repsep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[List[T]]

    Permalink
    Definition Classes
    Parsers
  104. def scalaExpression: Parser[Text]

    Permalink
  105. val scalaType: Regex

    Permalink
    Definition Classes
    ScalaParseSupport
  106. val scalaTypeChar: String

    Permalink
    Definition Classes
    ScalaParseSupport
  107. val scriptletFragment: Parser[ScriptletFragment]

    Permalink
  108. def setExpression: Parser[SetFragment]

    Permalink
  109. def skipWhitespace: Boolean

    Permalink
    Definition Classes
    SspParser → RegexParsers
  110. var skipWhitespaceOn: Boolean

    Permalink
  111. def skip_whitespace[T](p: ⇒ Parser[T]): Parser[T]

    Permalink
  112. val someText: Parser[Text]

    Permalink
  113. def someUpto[T](p: Parser[T]): Parser[Text]

    Permalink
    Definition Classes
    ScalaParseSupport
  114. def squoted[T](p: Parser[T]): Parser[T]

    Permalink
    Definition Classes
    ScalaParseSupport
  115. lazy val stringLiteral: Parser[String]

    Permalink
    Definition Classes
    ScalaParseSupport
  116. def success[T](v: T): Parser[T]

    Permalink
    Definition Classes
    Parsers
  117. def surround[T](delim: Parser[Any], p: Parser[T]): Parser[T]

    Permalink
    Definition Classes
    ScalaParseSupport
  118. def surround[T](c: Char, p: Parser[T]): Parser[T]

    Permalink
    Definition Classes
    ScalaParseSupport
  119. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  120. val tagEnding: Parser[String]

    Permalink
  121. def takeUntil(cond: Parser[Any], p: Parser[Char]): Parser[String]

    Permalink
    Definition Classes
    ScalaParseSupport
  122. def takeUntil(cond: Parser[Any]): Parser[String]

    Permalink
    Definition Classes
    ScalaParseSupport
  123. def takeWhile(p: Parser[Char]): Parser[String]

    Permalink
    Definition Classes
    ScalaParseSupport
  124. def text(p1: Parser[String]): Parser[Text]

    Permalink
    Definition Classes
    ScalaParseSupport
  125. val textFragment: Parser[TextFragment]

    Permalink
  126. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  127. def tquoted[T](p: Parser[T]): Parser[T]

    Permalink
    Definition Classes
    ScalaParseSupport
  128. lazy val tripleQuote: Parser[Unit]

    Permalink
    Definition Classes
    ScalaParseSupport
  129. val typeName: Parser[Text]

    Permalink
  130. lazy val uniEscapeSeq: Parser[Char]

    Permalink
    Definition Classes
    ScalaParseSupport
  131. def upto[T](p: Parser[T]): Parser[Text]

    Permalink
    Definition Classes
    ScalaParseSupport
  132. def velocityScriplet: Parser[ScriptletFragment]

    Permalink
  133. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  136. val whiteSpace: Regex

    Permalink
    Attributes
    protected
    Definition Classes
    RegexParsers
  137. def wrapped[T, U](prefix: Parser[T], postfix: Parser[U]): Parser[Text]

    Permalink
    Definition Classes
    ScalaParseSupport
  138. def [B](y: B): (SspParser, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from SspParser to ArrowAssoc[SspParser] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from ScalaParseSupport

Inherited from RegexParsers

Inherited from Parsers

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from SspParser to any2stringadd[SspParser]

Inherited by implicit conversion StringFormat from SspParser to StringFormat[SspParser]

Inherited by implicit conversion Ensuring from SspParser to Ensuring[SspParser]

Inherited by implicit conversion ArrowAssoc from SspParser to ArrowAssoc[SspParser]

Ungrouped