ProductionRule

halotukozak.alpaca.internal.parser.ProductionRule
final class ProductionRule[-Ctx <: ParserCtx]

A production with its semantic action, which a runtime ParseAction.Reduction reduces by. There is one per production, shared by every cell of the parse table that reduces by it.

Type parameters

Ctx

the parser context type

Attributes

Source
ProductionRule.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete fields

val action: (Ctx, RevertedArray[Any]) => Any

Attributes

Source
ProductionRule.scala
val production: Production

Attributes

Source
ProductionRule.scala