Traqula
Preparing search index...
@traqula/chevrotain
Terminal
Class Terminal
The Grammar AST class representing a
BaseParser.CONSUME
call.
Implements
IProductionWithOccurrence
Index
Constructors
constructor
Properties
idx
label?
terminal
Type
Methods
accept
Constructors
constructor
new
Terminal
(
options
:
{
idx
?:
number
;
label
?:
string
;
terminalType
:
TokenType
}
,
)
:
Terminal
Parameters
options
:
{
idx
?:
number
;
label
?:
string
;
terminalType
:
TokenType
}
Returns
Terminal
Properties
idx
idx
:
number
Optional
label
label
?:
string
terminal
Type
terminalType
:
TokenType
Methods
accept
accept
(
visitor
:
IGASTVisitor
)
:
void
Parameters
visitor
:
IGASTVisitor
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
idx
label
terminal
Type
Methods
accept
Traqula
Loading...
The Grammar AST class representing a BaseParser.CONSUME call.