Preparing search index...
The search index is not available
@chevrotain/types
@chevrotain/types
Rule
Class Rule
The Grammar AST class representing a top level
RULE
or
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
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Modules
@chevrotain/types
Rule
constructor
definition
name
org
Text
accept
Generated using
TypeDoc
The Grammar AST class representing a top level RULE or RULE call.