Search
Preparing search index...
The search index is not available
@chevrotain/types
Options
All
Public
Public/Protected
All
Inherited
Menu
@chevrotain/types
Option
Class Option
The Grammar AST class representing a {@link Parser.OPTION} call.
Hierarchy
Option
Implements
IProductionWithOccurrence
Index
Constructors
constructor
Properties
definition
idx
Methods
accept
Constructors
constructor
new
Option
(
options
:
{
definition
:
IProduction
[]
;
idx
?:
number
;
name
?:
string
}
)
:
Option
Parameters
options:
{
definition
:
IProduction
[]
;
idx
?:
number
;
name
?:
string
}
definition
:
IProduction
[]
Optional
idx
?:
number
Optional
name
?:
string
Returns
Option
Properties
definition
definition
:
IProduction
[]
idx
idx
:
number
Methods
accept
accept
(
visitor
:
IGASTVisitor
)
:
void
Parameters
visitor:
IGASTVisitor
Returns
void
Exports
Option
constructor
definition
idx
accept
Generated using
TypeDoc
The Grammar AST class representing a {@link Parser.OPTION} call.