laika.parse.combinator

Members list

Type members

Classlikes

trait Parsers

Generic base parsers which are not specifically tailored for parsing of text markup.

Generic base parsers which are not specifically tailored for parsing of text markup.

Attributes

Companion
object
Source
Parsers.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Parsers
trait TextParsers
object TextParsers
object builders
object Parsers extends Parsers

Attributes

Companion
trait
Source
Parsers.scala
Supertypes
trait Parsers
class Object
trait Matchable
class Any
Self type
Parsers.type
class Repeat[+T](parser: Parser[T], min: Int, max: Int, sep: Option[Parser[Unit]]) extends Parser[List[T]]

Parser implementation for repeatedly applying the specified base parser until it fails.

Parser implementation for repeatedly applying the specified base parser until it fails.

By default the parser allows for any number of successful parser invocations, including empty results. Use of the min, max and take methods allows to apply additional constrains on the expected number of results.

Attributes

Source
Repeat.scala
Supertypes
class Parser[List[T]]
class Object
trait Matchable
class Any