Production

halotukozak.alpaca.Production$package.Production
object Production

Attributes

Source
Production.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Production.type

Members list

Value members

Concrete methods

inline def apply[ParserType <: Parser[_] : ResolutionScope](inline symbols: Rule[_] | Token[_, _, _]*): Production

Creates a production reference from symbols.

Creates a production reference from symbols.

This is compile-time only and can be used only inside resolutions, to refer to a production by its right-hand side, e.g. Production(CalcParser.Expr, CalcLexer.MINUS, CalcParser.Expr).

Value parameters

symbols

the symbols on the right-hand side of the production

Attributes

Returns

a production reference

Source
Production.scala