OnTokenMatch

alpaca.internal.lexer.OnTokenMatch
See theOnTokenMatch companion trait
object OnTokenMatch

Attributes

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

Members list

Givens

Givens

inline given auto[Ctx <: LexerCtx]: OnTokenMatch[Ctx]

Automatically derives a OnTokenMatch instance for a context type.

Automatically derives a OnTokenMatch instance for a context type.

This macro combines OnTokenMatch instances from all parent traits of the context type to create a composite update function.

Type parameters

Ctx

the context type

Attributes

Returns

a OnTokenMatch instance

Source
OnTokenMatch.scala