Trait

laika.parse.rst

TableParsers

Related Doc: package rst

Permalink

trait TableParsers extends parse.BlockParsers

Provides parsers for the two table types supported by reStructuredText.

Self Type
TableParsers with InlineParsers
Linear Supertypes
parse.BlockParsers, MarkupParsers, BaseParsers, RegexParsers, Parsers, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TableParsers
  2. BlockParsers
  3. MarkupParsers
  4. BaseParsers
  5. RegexParsers
  6. Parsers
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class CellBuilder extends AnyRef

    Permalink
  2. class CellBuilderRef extends AnyRef

    Permalink
  3. class ColumnBuilder extends AnyRef

    Permalink
  4. type Elem = Char

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

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

    Permalink
    Definition Classes
    Parsers
  7. case class IndentedBlock(nestLevel: Int, minIndent: Int, lines: List[String]) extends Product with Serializable

    Permalink
    Definition Classes
    BlockParsers
  8. type Input = Reader[(TableParsers.this)#Elem]

    Permalink
    Definition Classes
    Parsers
  9. class MalformedTableException extends RuntimeException

    Permalink
  10. class MarkupParserException extends RuntimeException

    Permalink

    Exception thrown when parsing a text markup document or fragment fails.

    Exception thrown when parsing a text markup document or fragment fails. This can only happen due to a bug in this library, as the behaviour of the parser is to treat all unknown or malformed markup as regular text and always succeed. The result property holds the NoSuccess instance that caused the failure.

    Definition Classes
    MarkupParsers
  11. class NestedCharSequenceReader extends CharSequenceReader

    Permalink

    Reader implementation that keeps the current nest level in case of recursive parsing of block-level elements.

    Reader implementation that keeps the current nest level in case of recursive parsing of block-level elements.

    Definition Classes
    BlockParsers
  12. sealed abstract class NoSuccess extends ParseResult[Nothing]

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

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

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

    Permalink
    Definition Classes
    Parsers
  16. implicit class ParserOps[A] extends AnyRef

    Permalink

    Provides additional combinator methods to parsers via implicit conversion.

    Provides additional combinator methods to parsers via implicit conversion.

    Definition Classes
    BaseParsers
  17. class RowBuilder extends AnyRef

    Permalink
  18. case class Success[+T] extends ParseResult[T] with Product with Serializable

    Permalink
    Definition Classes
    Parsers
  19. class TableBuilder extends AnyRef

    Permalink
  20. class TextParser extends Parser[String]

    Permalink

    API for specifying further constraints on the parsers provided by this base trait.

    API for specifying further constraints on the parsers provided by this base trait.

    For reading 3 or more '*' or '+'characters for example the constraint could be specified as follows:

    anyOf('*','+') min 3
    Definition Classes
    MarkupParsers
  21. implicit class TryOps[A] extends AnyRef

    Permalink

    Provides additional methods to Try via implicit conversion.

    Provides additional methods to Try via implicit conversion.

    Definition Classes
    BaseParsers
  22. case class ~[+a, +b] extends Product with Serializable

    Permalink
    Definition Classes
    Parsers

Abstract Value Members

  1. abstract def nonRecursiveBlock: (TableParsers.this)#Parser[Block]

    Permalink

    Parses reStructuredText blocks, except for blocks that allow nesting of blocks.

    Parses reStructuredText blocks, except for blocks that allow nesting of blocks. Only used in rare cases when the maximum nest level allowed had been reached

    Definition Classes
    BlockParsers
  2. abstract def prepareBlockParsers(nested: Boolean): List[(TableParsers.this)#Parser[Block]]

    Permalink

    Extension hook for assembling the block parsers for a particular markup format.

    Extension hook for assembling the block parsers for a particular markup format.

    nested

    true if these are parsers for nested blocks, false if they are for top level blocks

    returns

    a list of block parsers which later will be interpreted as choices in the specified order

    Attributes
    protected
    Definition Classes
    BlockParsers

Concrete 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. object NoSuccess

    Permalink
    Definition Classes
    Parsers
  5. def OnceParser[T](f: ((TableParsers.this)#Input) ⇒ (TableParsers.this)#ParseResult[T]): (TableParsers.this)#Parser[T] with (TableParsers.this)#OnceParser[T]

    Permalink
    Definition Classes
    Parsers
  6. def Parser[T](f: ((TableParsers.this)#Input) ⇒ (TableParsers.this)#ParseResult[T]): (TableParsers.this)#Parser[T]

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

    Permalink
    Definition Classes
    Parsers
  8. def accept[ES](es: ES)(implicit arg0: (ES) ⇒ List[(TableParsers.this)#Elem]): (TableParsers.this)#Parser[List[(TableParsers.this)#Elem]]

    Permalink
    Definition Classes
    Parsers
  9. implicit def accept(e: (TableParsers.this)#Elem): (TableParsers.this)#Parser[(TableParsers.this)#Elem]

    Permalink
    Definition Classes
    Parsers
  10. def acceptIf(p: ((TableParsers.this)#Elem) ⇒ Boolean)(err: ((TableParsers.this)#Elem) ⇒ String): (TableParsers.this)#Parser[(TableParsers.this)#Elem]

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

    Permalink
    Definition Classes
    Parsers
  12. def acceptSeq[ES](es: ES)(implicit arg0: (ES) ⇒ Iterable[(TableParsers.this)#Elem]): (TableParsers.this)#Parser[List[(TableParsers.this)#Elem]]

    Permalink
    Definition Classes
    Parsers
  13. val any: (TableParsers.this)#TextParser

    Permalink

    Consumes any kind of input, always succeeds.

    Consumes any kind of input, always succeeds. This parser would consume the entire input unless a max constraint is specified.

    Definition Classes
    MarkupParsers
  14. def anyBut(chars: Char*): (TableParsers.this)#TextParser

    Permalink

    Consumes any number of consecutive characters that are not one of the specified characters.

    Consumes any number of consecutive characters that are not one of the specified characters. Always succeeds unless a minimum number of required matches is specified.

    Definition Classes
    MarkupParsers
  15. def anyIn(ranges: Traversable[Char]*): (TableParsers.this)#TextParser

    Permalink

    Consumes any number of consecutive characters that are in one of the specified character ranges.

    Consumes any number of consecutive characters that are in one of the specified character ranges. Always succeeds unless a minimum number of required matches is specified.

    Definition Classes
    MarkupParsers
  16. def anyOf(chars: Char*): (TableParsers.this)#TextParser

    Permalink

    Consumes any number of consecutive occurrences of the specified characters.

    Consumes any number of consecutive occurrences of the specified characters. Always succeeds unless a minimum number of required matches is specified.

    Definition Classes
    MarkupParsers
  17. def anyUntil(until: ⇒ (TableParsers.this)#Parser[Any]): (TableParsers.this)#TextParser

    Permalink

    Consumes any number of characters for which the specified parser fails on the corresponding offset.

    Consumes any number of characters for which the specified parser fails on the corresponding offset. This parser fails if the end of input is reached without the specified parser ever succeeding or if the parser causes an Error result instead of a plain Failure or Success. Further constraints like minimum or maximum number of required matching characters can be specified through the API of the returned TextParser instance.

    Definition Classes
    MarkupParsers
  18. def anyUntil(chars: Char*): (TableParsers.this)#TextParser

    Permalink

    Consumes any number of consecutive characters that are not one of the specified characters.

    Consumes any number of consecutive characters that are not one of the specified characters.

    This parser is identical to the anyBut parser except for two differences: this parser fails if it reaches the end of the input without seeing any of the specified characters and it also consumes this final character, without adding it to the result. This parser is usually used when a construct like a span enclosed between two characters needs to be parsed.

    Definition Classes
    MarkupParsers
  19. def anyWhile(p: (Char) ⇒ Boolean): (TableParsers.this)#TextParser

    Permalink

    Consumes any number of consecutive characters which satisfy the specified predicate.

    Consumes any number of consecutive characters which satisfy the specified predicate. Always succeeds unless a minimum number of required matches is specified.

    Definition Classes
    MarkupParsers
  20. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  21. val atStart: (TableParsers.this)#Parser[Unit]

    Permalink

    Succeeds at the start of the input.

    Succeeds at the start of the input.

    Definition Classes
    MarkupParsers
  22. val blankLine: (TableParsers.this)#Parser[String]

    Permalink

    Parses a blank line from the current input offset (which may not be at the start of the line).

    Parses a blank line from the current input offset (which may not be at the start of the line). Fails for lines that contain any non-whitespace character. Does always produce an empty string as the result, discarding any whitespace characters found in the line.

    Since it also succeeds at the end of the input it should never be used in the form of (blankLine *) or (blankLine +). Use the blankLines parser instead in these cases.

    Definition Classes
    BlockParsers
  23. val blankLines: (TableParsers.this)#Parser[List[String]]

    Permalink

    Parses one or more blanklines, producing a list of empty strings corresponding to the number of blank lines consumed.

    Parses one or more blanklines, producing a list of empty strings corresponding to the number of blank lines consumed.

    Definition Classes
    BlockParsers
  24. def block(firstLinePrefix: (TableParsers.this)#Parser[Any], linePrefix: ⇒ (TableParsers.this)#Parser[Any], nextBlockPrefix: ⇒ (TableParsers.this)#Parser[Any]): (TableParsers.this)#Parser[List[String]]

    Permalink

    Parses a full block based on the specified helper parsers.

    Parses a full block based on the specified helper parsers.

    firstLinePrefix

    parser that recognizes the start of the first line of this block

    linePrefix

    parser that recognizes the start of subsequent lines that still belong to the same block

    nextBlockPrefix

    parser that recognizes whether a line after one or more blank lines still belongs to the same block

    Definition Classes
    BlockParsers
  25. def blockList(p: ⇒ (TableParsers.this)#Parser[Block]): (TableParsers.this)#Parser[List[Block]]

    Permalink

    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.

    Definition Classes
    BlockParsers
  26. def chainl1[T, U](first: ⇒ (TableParsers.this)#Parser[T], p: ⇒ (TableParsers.this)#Parser[U], q: ⇒ (TableParsers.this)#Parser[(T, U) ⇒ T]): (TableParsers.this)#Parser[T]

    Permalink
    Definition Classes
    Parsers
  27. def chainl1[T](p: ⇒ (TableParsers.this)#Parser[T], q: ⇒ (TableParsers.this)#Parser[(T, T) ⇒ T]): (TableParsers.this)#Parser[T]

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

    Permalink
    Definition Classes
    Parsers
  29. implicit def charToTraversalble(char: Char): Traversable[Char]

    Permalink

    Implicit conversion that allows to pass a single character to the range-based anyIn parser.

    Implicit conversion that allows to pass a single character to the range-based anyIn parser.

    Definition Classes
    MarkupParsers
  30. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def commit[T](p: ⇒ (TableParsers.this)#Parser[T]): (TableParsers.this)#Parser[T]

    Permalink
    Definition Classes
    Parsers
  32. def config(path: Path): (TableParsers.this)#Parser[Either[InvalidBlock, Config]]

    Permalink
    Definition Classes
    BlockParsers
  33. def elem(e: (TableParsers.this)#Elem): (TableParsers.this)#Parser[(TableParsers.this)#Elem]

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

    Permalink
    Definition Classes
    Parsers
  35. def eof: (TableParsers.this)#Parser[String]

    Permalink

    Succeeds at the end of the input.

    Succeeds at the end of the input.

    Definition Classes
    MarkupParsers
  36. def eol: (TableParsers.this)#Parser[String]

    Permalink

    Succeeds at the end of a line, including the end of the input.

    Succeeds at the end of a line, including the end of the input. Produces an empty string as a result and consumes any new line characters.

    Definition Classes
    MarkupParsers
  37. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  39. def err(msg: String): (TableParsers.this)#Parser[Nothing]

    Permalink
    Definition Classes
    Parsers
  40. def failure(msg: String): (TableParsers.this)#Parser[Nothing]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  43. def gridTable: (TableParsers.this)#Parser[Table]

    Permalink

    Parses a grid table.

  44. def guard[T](p: ⇒ (TableParsers.this)#Parser[T]): (TableParsers.this)#Parser[T]

    Permalink
    Definition Classes
    Parsers
  45. def handleWhiteSpace(source: CharSequence, offset: Int): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  47. def indentedBlock(minIndent: Int = 1, linePredicate: ⇒ (TableParsers.this)#Parser[Any] = success(()), endsOnBlankLine: Boolean = false, firstLineIndented: Boolean = false, maxIndent: Int = Int.MaxValue): (TableParsers.this)#Parser[(TableParsers.this)#IndentedBlock]

    Permalink

    Parses a full block based on the specified helper parsers, expecting an indentation for all lines except the first.

    Parses a full block based on the specified helper parsers, expecting an indentation for all lines except the first. The indentation may vary between the parts of the indented block, so that this parser only cuts off the minimum indentation shared by all lines, but each line must have at least the specified minimum indentation.

    minIndent

    the minimum indentation that each line in this block must have

    linePredicate

    parser that recognizes the start of subsequent lines that still belong to the same block

    endsOnBlankLine

    indicates whether parsing should end on the first blank line

    firstLineIndented

    indicates whether the first line is expected to be indented, too

    maxIndent

    the maximum indentation that will get dropped from the start of each line of the result

    returns

    a parser that produces an instance of IndentedBlock

    Definition Classes
    BlockParsers
  48. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  49. implicit def literal(s: String): (TableParsers.this)#Parser[String]

    Permalink
    Definition Classes
    RegexParsers
  50. def log[T](p: ⇒ (TableParsers.this)#Parser[T])(name: String): (TableParsers.this)#Parser[T]

    Permalink
    Definition Classes
    Parsers
  51. def lookBehind[T](offset: Int, parser: ⇒ (TableParsers.this)#Parser[T]): (TableParsers.this)#Parser[T]

    Permalink

    Applies the specified parser at the specified offset behind the current position.

    Applies the specified parser at the specified offset behind the current position. Never consumes any input.

    Definition Classes
    BaseParsers
  52. val maxNestLevel: Int

    Permalink

    The maximum level of block nesting.

    The maximum level of block nesting. Some block types like lists and blockquotes contain nested blocks. To protect against malicious input or accidentally broken markup, the level of nesting is restricted.

    Definition Classes
    BlockParsers
  53. def mkList[T]: ((TableParsers.this)#~[T, List[T]]) ⇒ List[T]

    Permalink
    Definition Classes
    Parsers
  54. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  55. def nestLevel(reader: (TableParsers.this)#Input): Int

    Permalink

    Returns the current nest level from the specified input or 0 if it cannot be determined.

    Returns the current nest level from the specified input or 0 if it cannot be determined.

    The nest level is usually only used to prevent endless recursion of nested blocks.

    Definition Classes
    BlockParsers
  56. final lazy val nestedBlock: (TableParsers.this)#Parser[Block]

    Permalink

    Parses any kind of nested block supported by a concrete markup language.

    Parses any kind of nested block supported by a concrete markup language.

    Definition Classes
    BlockParsers
  57. def not[T](p: ⇒ (TableParsers.this)#Parser[T]): (TableParsers.this)#Parser[Unit]

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

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

    Permalink
    Definition Classes
    AnyRef
  60. def opt[T](p: ⇒ (TableParsers.this)#Parser[T]): (TableParsers.this)#Parser[Option[T]]

    Permalink
    Definition Classes
    Parsers
  61. def optimizedCharLookup(chars: Char*): (Char) ⇒ Boolean

    Permalink

    Returns an optimized, Array-based lookup function for the specified characters.

    Returns an optimized, Array-based lookup function for the specified characters.

    Attributes
    protected
    Definition Classes
    MarkupParsers
  62. def optimizedRangeLookup(ranges: Traversable[Char]*): (Char) ⇒ Boolean

    Permalink

    Returns an optimized, Array-based lookup function for the specified ranges of characters.

    Returns an optimized, Array-based lookup function for the specified ranges of characters.

    Attributes
    protected
    Definition Classes
    MarkupParsers
  63. def parse[T](p: (TableParsers.this)#Parser[T], in: Reader): (TableParsers.this)#ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  64. def parse[T](p: (TableParsers.this)#Parser[T], in: CharSequence): (TableParsers.this)#ParseResult[T]

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

    Permalink
    Definition Classes
    RegexParsers
  66. def parseAll[T](p: (TableParsers.this)#Parser[T], in: CharSequence): (TableParsers.this)#ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  67. def parseAll[T](p: (TableParsers.this)#Parser[T], in: Reader): (TableParsers.this)#ParseResult[T]

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

    Permalink
    Definition Classes
    RegexParsers
  69. def parseConfigAndRoot(reader: Reader[Char], path: Path): (Config, RootElement)

    Permalink

    Fully parses the input from the specified reader and returns the configuration and root element.

    Fully parses the input from the specified reader and returns the configuration and root element.

    Attributes
    protected
    Definition Classes
    BlockParsers
  70. def parseDocument(reader: Reader[Char], path: Path): Document

    Permalink

    Fully parses the input from the specified reader and returns the document tree.

    Fully parses the input from the specified reader and returns the document tree. This function is expected to always succeed, errors would be considered a bug of this library, as the parsers treat all unknown or malformed markup as regular text.

    Definition Classes
    BlockParsers
  71. def parseMarkup[T](parser: (TableParsers.this)#Parser[T], reader: Reader[Char]): T

    Permalink

    Fully parses the input from the specified reader and returns the result.

    Fully parses the input from the specified reader and returns the result. This function is expected to always succeed, errors would be considered a bug in this library, as the parsers treat all unknown or malformed markup as regular text.

    Definition Classes
    MarkupParsers
  72. def parseMarkup[T](parser: (TableParsers.this)#Parser[T], source: String): T

    Permalink

    Fully parses the specified input string and returns the result.

    Fully parses the specified input string and returns the result. This function is expected to always succeed, errors would be considered a bug in this library, as the parsers treat all unknown or malformed markup as regular text.

    Definition Classes
    MarkupParsers
  73. def parseNestedBlocks(block: (TableParsers.this)#IndentedBlock): List[Block]

    Permalink

    Parses all nested blocks inside the specified indented block.

    Parses all nested blocks inside the specified indented block.

    Definition Classes
    BlockParsers
  74. def parseNestedBlocks(input: String, nestLevel: Int): List[Block]

    Permalink

    Parses all nested blocks for the specified input and nest level.

    Parses all nested blocks for the specified input and nest level. Delegates to the abstract nestedBlock parser that sub-traits need to define. The nest level is primarily used as a protection against malicious input that forces endless recursion.

    input

    the input to parse

    nestLevel

    the level of nesting with 0 being the outermost level

    returns

    the parser result as a list of blocks

    Definition Classes
    BlockParsers
  75. def parseNestedBlocks(lines: List[String], nestLevel: Int): List[Block]

    Permalink

    Parses all nested blocks for the specified input and nest level.

    Parses all nested blocks for the specified input and nest level. Delegates to the abstract nestedBlock parser that sub-traits need to define. The nest level is primarily used as a protection against malicious input that forces endless recursion.

    lines

    the input to parse

    nestLevel

    the level of nesting with 0 being the outermost level

    returns

    the parser result as a list of blocks

    Definition Classes
    BlockParsers
  76. def phrase[T](p: (TableParsers.this)#Parser[T]): (TableParsers.this)#Parser[T]

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

    Permalink
    Definition Classes
    RegexParsers → Parsers
  78. val refName: (TableParsers.this)#Parser[String]

    Permalink

    Parses a simple reference name that only allows alphanumerical characters and the punctuation characters -, _, ., :, +.

    Parses a simple reference name that only allows alphanumerical characters and the punctuation characters -, _, ., :, +.

    Definition Classes
    MarkupParsers
  79. implicit def regex(r: Regex): (TableParsers.this)#Parser[String]

    Permalink
    Definition Classes
    RegexParsers
  80. def rep[T](first: ⇒ (TableParsers.this)#Parser[T], next: (T) ⇒ (TableParsers.this)#Parser[T]): (TableParsers.this)#Parser[List[T]]

    Permalink

    A parser generator for repetitions where all subsequent parsers after the first depend on the result of the previous.

    A parser generator for repetitions where all subsequent parsers after the first depend on the result of the previous.

    first

    the parser to use for the first piece of input

    next

    a function that determines the next parser based on the result of the previous

    Definition Classes
    BaseParsers
  81. def rep[T](p: ⇒ (TableParsers.this)#Parser[T]): (TableParsers.this)#Parser[List[T]]

    Permalink
    Definition Classes
    Parsers
  82. def rep1[T](first: ⇒ (TableParsers.this)#Parser[T], p0: ⇒ (TableParsers.this)#Parser[T]): (TableParsers.this)#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.

  83. def rep1[T](p: ⇒ (TableParsers.this)#Parser[T]): (TableParsers.this)#Parser[List[T]]

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

    Permalink
    Definition Classes
    Parsers
  85. def repMax[T](num: Int, p: ⇒ (TableParsers.this)#Parser[T]): (TableParsers.this)#Parser[List[T]]

    Permalink

    Uses the parser for at most the specified number of repetitions, always succeeds.

    Uses the parser for at most the specified number of repetitions, always succeeds. The result is the list of results from applying the parser repeatedly.

    Definition Classes
    BaseParsers
  86. def repMin[T](num: Int, p: ⇒ (TableParsers.this)#Parser[T]): (TableParsers.this)#Parser[List[T]]

    Permalink

    Uses the parser for at least the specified number of repetitions or otherwise fails.

    Uses the parser for at least the specified number of repetitions or otherwise fails. Continues to apply the parser after the minimum has been reached until if fails. The result is the list of results from applying the parser repeatedly.

    Definition Classes
    BaseParsers
  87. def repN[T](num: Int, p: ⇒ (TableParsers.this)#Parser[T]): (TableParsers.this)#Parser[List[T]]

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

    Permalink
    Definition Classes
    Parsers
  89. def restOfLine: (TableParsers.this)#Parser[String]

    Permalink

    Parses the rest of the line from the current input offset no matter whether it consist of whitespace only or some text.

    Parses the rest of the line from the current input offset no matter whether it consist of whitespace only or some text. Does not include the eol character(s).

    Definition Classes
    BlockParsers
  90. def rootElement: (TableParsers.this)#Parser[RootElement]

    Permalink

    Parses a full document, delegating most of the work to the topLevelBlock parser.

    Parses a full document, delegating most of the work to the topLevelBlock parser.

    Definition Classes
    BlockParsers
  91. def simpleTable: (TableParsers.this)#Parser[Table]

    Permalink

    Parses a simple table.

  92. def skipWhitespace: Boolean

    Permalink
    Definition Classes
    MarkupParsers → RegexParsers
  93. def success[T](v: T): (TableParsers.this)#Parser[T]

    Permalink
    Definition Classes
    Parsers
  94. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  95. val textLine: (TableParsers.this)#Parser[String]

    Permalink

    Parses a single text line from the current input offset (which may not be at the start of the line.

    Parses a single text line from the current input offset (which may not be at the start of the line. Fails for blank lines. Does not include the eol character(s).

    Definition Classes
    BlockParsers
  96. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  97. final lazy val topLevelBlock: (TableParsers.this)#Parser[Block]

    Permalink

    Parses any kind of top-level block supported by a concrete markup language.

    Parses any kind of top-level block supported by a concrete markup language.

    Definition Classes
    BlockParsers
  98. final def wait(): Unit

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    RegexParsers
  102. def withNestLevel[T](p: ⇒ (TableParsers.this)#Parser[T]): (TableParsers.this)#Parser[(Int, T)]

    Permalink

    Creates a new parser that produces a tuple containing the current nest level as well as the result from the specified parser.

    Creates a new parser that produces a tuple containing the current nest level as well as the result from the specified parser.

    The nest level is usually only used to prevent endless recursion of nested blocks.

    Definition Classes
    BlockParsers
  103. def ws: (TableParsers.this)#TextParser

    Permalink

    Parses horizontal whitespace (space and tab).

    Parses horizontal whitespace (space and tab). Always succeeds, consuming all whitespace found.

    Definition Classes
    MarkupParsers

Inherited from parse.BlockParsers

Inherited from MarkupParsers

Inherited from BaseParsers

Inherited from RegexParsers

Inherited from Parsers

Inherited from AnyRef

Inherited from Any

Ungrouped