alpaca.internal.parser.NonTerminal
See theNonTerminal companion object
final sealed case class NonTerminal(name: String) extends AnyVal
Represents a non-terminal symbol in the grammar.
Non-terminals are symbols that can be expanded into other symbols according to the grammar rules. For example, in a typical expression grammar, "expr" and "term" would be non-terminals.
Value parameters
- name
-
the name of the non-terminal
Attributes
- Companion
- object
- Experimental
- true
- Source
- Symbol.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass AnyValtrait Matchableclass Any
Members list
In this article
