Packages

object CodeSpanParser

Companion with a range of convenient constructors for creating CodeSpanParsers instances, based on existing parser instances or simple specifications of start and end delimiters.

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(parser: PrefixedParser[Seq[CodeSpan]]): CodeSpanParser

    Parses a sequence of code spans.

  5. def apply(category: CodeCategory)(parser: PrefixedParser[String]): CodeSpanParser

    Parses a single text span and associates it with the given code category.

  6. def apply(category: CodeCategory, start: String, end: String): CodeSpanParser

    Parses a single span delimited by the specified start and end strings and associates it with the given code category.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def onLineStart(category: CodeCategory)(parser: Parser[String]): CodeSpanParser

    Parses a single code span that can only start on a new line or at the start of the input and associates it with the given code category.

  19. def onLineStart(parser: Parser[Seq[CodeSpan]]): CodeSpanParser

    Parses code spans that can only start on a new line or at the start of the input.

  20. def recursive(parser: ⇒ CodeSpanParser): CodeSpanParser

    Lazily initializes the specified parser for recursive application.

    Lazily initializes the specified parser for recursive application.

    Standard constructors avoid the cost of by-name arguments, but this factory method can be used for the cases where recursive embedding of a syntax needs to occur.

  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped