object BlockParsers
Provides the parsers for all types of block-level elements of reStructuredText. It merges the individual traits that provide implementations for list, tables, etc. and adds the remaining block level parsers that do not fit into any of the subcategories supported by the other traits.
Block parsers are only concerned with splitting the document into (potentially nested) blocks. They are used in the first phase of parsing, while delegating to inline parsers for the 2nd phase.
- Alphabetic
- By Inheritance
- BlockParsers
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
lazy val
blockQuote: BlockParserBuilder
Parses a block quote with an optional attribution.
Parses a block quote with an optional attribution.
See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#block-quotes
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
createBlockListParser(blockParser: Parser[Block]): Parser[Seq[Block]]
Builds a parser for a list of blocks based on the parser for a single block.
Builds a parser for a list of blocks based on the parser for a single block.
Adds the processing required for cases where a block has influence on the parsing or processing of the subsequent block.
This includes checking each Paragraph for a double colon ending which turns the following block into a literal block as well as processing internal link targets and section headers.
- blockParser
the parser for a single block element
- returns
a parser for a list of blocks
-
val
doctest: BlockParserBuilder
Parses a doctest block.
Parses a doctest block. This is a feature which is very specific to the world of Python where reStructuredText originates. Therefore the resulting
DoctestBlock
tree element is not part of the standard Laika AST model. When this block type is used the corresponding special renderers must be enabled (e.g. theExtendedHTMLRenderer
renderer for HTML).See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#doctest-blocks
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
lazy val
headerWithOverline: BlockParserBuilder
Parses a section header with both overline and underline.
Parses a section header with both overline and underline.
See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#sections.
-
lazy val
headerWithUnderline: BlockParserBuilder
Parses a section header with an underline, but no overline.
Parses a section header with an underline, but no overline.
See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#sections.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
literalBlock: Parser[Block]
Parses a literal block, either quoted or indented.
Parses a literal block, either quoted or indented. Only used when the preceding block ends with a double colon (
::
).See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#literal-blocks
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
lazy val
paragraph: BlockParserBuilder
Parses a single paragraph.
Parses a single paragraph. Everything between two blank lines that is not recognized as a special reStructuredText block type will be parsed as a regular paragraph.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
transition: BlockParserBuilder
Parses a transition (rule).
Parses a transition (rule).
See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#transitions.
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val ws: Characters[String]
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated