ParserCtx

alpaca.ParserCtx
See theParserCtx companion trait
object ParserCtx

Attributes

Companion
trait
Experimental
true
Source
parser.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ParserCtx.type

Members list

Type members

Classlikes

final case class Empty() extends ParserCtx

An empty parser context with no state.

An empty parser context with no state.

This is the default context used by parsers when no custom context is needed. Most simple parsers can use this.

Attributes

Source
parser.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait ParserCtx
class Object
trait Matchable
class Any
Show all

Givens

Givens

given given_Copyable_Ctx[Ctx <: ParserCtx & Product : ProductOf]: Copyable[Ctx]

Automatic Copyable instance for any GlobalCtx that is a Product (case class).

Automatic Copyable instance for any GlobalCtx that is a Product (case class).

Type parameters

Ctx

the context type

Attributes

Source
parser.scala