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