Companion with a range of convenient constructors for creating CodeSpanParsers instances, based on existing parser instances or simple specifications of start and end delimiters.
Attributes
- Companion
- trait
- Source
- CodeSpanParser.scala
- Graph
-
- Supertypes
- Self type
-
CodeSpanParser.type
Members list
Value members
Concrete methods
Parses a single span delimited by the specified start and end strings and associates it with the given code category.
Parses a single span delimited by the specified start and end strings and associates it with the given code category.
Attributes
- Source
- CodeSpanParser.scala
Parses a single text span and associates it with the given code category.
Parses a single text span and associates it with the given code category.
Attributes
- Source
- CodeSpanParser.scala
Parses a sequence of code spans.
Parses code spans that can only start on a new line or at the start of the input.
Parses code spans that can only start on a new line or at the start of the input.
Attributes
- Source
- CodeSpanParser.scala
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.
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.
Attributes
- Source
- CodeSpanParser.scala
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.
Attributes
- Source
- CodeSpanParser.scala