Search
Preparing search index...
The search index is not available
@chevrotain/types
Options
All
Public
Public/Protected
All
Inherited
Menu
@chevrotain/types
NonTerminal
Class NonTerminal
The Grammar AST class representing a top level {@link Parser.SUBRULE} call.
Hierarchy
NonTerminal
Implements
IProductionWithOccurrence
Index
Constructors
constructor
Properties
definition
idx
label
non
Terminal
Name
referenced
Rule
Methods
accept
Constructors
constructor
new
Non
Terminal
(
options
:
{
idx
?:
number
;
label
?:
string
;
nonTerminalName
:
string
;
referencedRule
?:
Rule
}
)
:
NonTerminal
Parameters
options:
{
idx
?:
number
;
label
?:
string
;
nonTerminalName
:
string
;
referencedRule
?:
Rule
}
Optional
idx
?:
number
Optional
label
?:
string
non
Terminal
Name
:
string
Optional
referenced
Rule
?:
Rule
Returns
NonTerminal
Properties
definition
definition
:
IProduction
[]
idx
idx
:
number
Optional
label
label
?:
string
non
Terminal
Name
non
Terminal
Name
:
string
referenced
Rule
referenced
Rule
:
Rule
Methods
accept
accept
(
visitor
:
IGASTVisitor
)
:
void
Parameters
visitor:
IGASTVisitor
Returns
void
Exports
Non
Terminal
constructor
definition
idx
label
non
Terminal
Name
referenced
Rule
accept
Generated using
TypeDoc
The Grammar AST class representing a top level {@link Parser.SUBRULE} call.