Token
alpaca.internal.lexer.Token
Base trait for all token types.
A token represents a lexical unit matched by the lexer. It contains information about the token's name, pattern, and how to manipulate the lexer context when matched.
Type parameters
- Ctx
-
the global context type
- Name
-
the token name type
- Value
-
the value type extracted from the matched text
Attributes
- Experimental
- true
- Source
- Token.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
In this article
