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
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Parsers.type
trait TextParsers
object TextParsers.type
object builders.type
object Parsers extends Parsers

Attributes

Companion
trait
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

Supertypes
class Parser[List[T]]
class Object
trait Matchable
class Any