alpaca.internal.parser.Terminal
See theTerminal companion object
final sealed case class Terminal(name: String) extends AnyVal
Represents a terminal symbol in the grammar.
Terminals are the basic tokens that come from the lexer and cannot be expanded further. For example, numbers, identifiers, and operators are typically terminals.
Value parameters
- name
-
the name of the terminal (token name)
Attributes
- Companion
- object
- Experimental
- true
- Source
- Symbol.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass AnyValtrait Matchableclass Any
Members list
In this article
