Class

laika.parse.text

ConfigurableDelimiter

Related Doc: package text

Permalink

case class ConfigurableDelimiter(endDelimiters: Set[Char], postCondition: Option[Parser[Any]] = None, acceptEOF: Boolean = false, nonEmpty: Boolean = false, keepDelimiter: Boolean = false, failOn: Set[Char] = Set()) extends Delimiter[String] with Product with Serializable

Delimiter implementation that allows for various kinds of customization.

Linear Supertypes
Serializable, Serializable, Product, Equals, Delimiter[String], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConfigurableDelimiter
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Delimiter
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConfigurableDelimiter(endDelimiters: Set[Char], postCondition: Option[Parser[Any]] = None, acceptEOF: Boolean = false, nonEmpty: Boolean = false, keepDelimiter: Boolean = false, failOn: Set[Char] = Set())

    Permalink

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. val acceptEOF: Boolean

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def atEOF(charsConsumed: Int, context: ParserContext): Parsed[String]

    Permalink

    Method invoked when the end of the input is reached.

    Method invoked when the end of the input is reached.

    charsConsumed

    the number of characters consumed before EOF has been reached

    context

    the parser context at the position EOF has been reached

    returns

    the result of the parser

    Definition Classes
    ConfigurableDelimiterDelimiter
  7. def atStartChar(startChar: Char, charsConsumed: Int, context: ParserContext): DelimiterResult[String]

    Permalink

    Method invoked every time the parser encounters any of the startChars.

    Method invoked every time the parser encounters any of the startChars. The result is either Continue in case the additional conditions for the delimiter are not met at this position, or a Complete instance containing the result.

    startChar

    the start character that was encountered on the input string (matches one of the characters in the startChar set)

    charsConsumed

    the number of characters consumed before the delimiter has been reached

    context

    the parser context at the position the delimiter has been reached

    returns

    either Continue in case the additional conditions for the delimiter are not met at this position, or a Complete instance containing the result

    Definition Classes
    ConfigurableDelimiterDelimiter
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val endDelimiters: Set[Char]

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. val failOn: Set[Char]

    Permalink
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. val keepDelimiter: Boolean

    Permalink
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. val nonEmpty: Boolean

    Permalink
  18. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  20. val postCondition: Option[Parser[Any]]

    Permalink
  21. val startChars: Set[Char]

    Permalink

    The start characters that mark the (potential) end of the delimited text in case the conditions implemented in atStartChar are met.

    The start characters that mark the (potential) end of the delimited text in case the conditions implemented in atStartChar are met.

    Definition Classes
    ConfigurableDelimiterDelimiter
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Delimiter[String]

Inherited from AnyRef

Inherited from Any

Ungrouped