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