Parser

laika.parse.Parser$
See theParser companion class
object Parser

Companion factory for creating new parser instances.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Parser.type

Members list

Value members

Concrete methods

def apply[T](f: SourceCursor => Parsed[T]): Parser[T]

Builds a new parser based on the specified function that implements the behaviour of the parser.

Builds a new parser based on the specified function that implements the behaviour of the parser.

Attributes