Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a production in grammer.

Example: S -> aA can be represented as

{
 symbol: "S",
 produces: ["a", "A"]
}
export
interface

Production

Hierarchy

  • Production

Index

Properties

Properties

produces

produces: string[]

The ordered array of symbols that are produced in the production.

type

{string[]}

memberof

Production

symbol

symbol: string

The non terminal whose production it is.

type

{string}

memberof

Production

Generated using TypeDoc