TOC Toolkit API - v0.1.0
Preparing search index...
toc-toolkit/grammars/context-free
Lr1Source
Class Lr1Source
The source retains dense rows and the owner's FIRST and nullability analyses.
Index
Constructors
constructor
Properties
cfg
Methods
create
productions
next
lookaheads
Constructors
constructor
new
Lr1Source
(
cfg
:
Cfg
,
budget
:
Budget
)
:
Lr1Source
Parameters
cfg
:
Cfg
budget
:
Budget
Returns
Lr1Source
Properties
Readonly
cfg
cfg
:
Cfg
Methods
Static
create
create
(
cfg
:
Cfg
,
budget
:
Budget
)
:
Lr1Source
Parameters
cfg
:
Cfg
budget
:
Budget
Returns
Lr1Source
productions
productions
(
variable
:
VariableIndex
)
:
readonly
ProductionIndex
[]
Parameters
variable
:
VariableIndex
Returns
readonly
ProductionIndex
[]
next
next
(
item
:
Lr1Item
)
:
Maybe
<
CfgSymbol
>
Parameters
item
:
Lr1Item
Returns
Maybe
<
CfgSymbol
>
lookaheads
lookaheads
(
item
:
Lr1Item
)
:
readonly
(
TerminalIndex
|
undefined
)
[]
Parameters
item
:
Lr1Item
Returns
readonly
(
TerminalIndex
|
undefined
)
[]
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
cfg
Methods
create
productions
next
lookaheads
TOC Toolkit API - v0.1.0
Loading...
The source retains dense rows and the owner's FIRST and nullability analyses.