Terminal

alpaca.internal.parser.Terminal
See theTerminal companion class
object Terminal

Attributes

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

Members list

Value members

Concrete methods

inline def apply(inline name: String): Terminal & NonEmpty

Creates a terminal symbol from a name.

Creates a terminal symbol from a name.

Value parameters

name

the name of the terminal (token name)

Attributes

Returns

a non-empty terminal symbol

Source
Symbol.scala