Traqula
Preparing search index...
@traqula/core
ParserRule
Type Alias ParserRule<Context, NameType, ReturnType, ParamType>
Type used to declare grammar rules.
type
ParserRule
<
Context
=
any
,
NameType
extends
string
=
string
,
ReturnType
=
unknown
,
ParamType
=
any
,
>
=
{
impl
:
(
def
:
ImplArgs
,
)
=>
(
context
:
Context
,
params
:
ParamType
)
=>
ReturnType
;
name
:
NameType
;
}
Type Parameters
Context
=
any
NameType
extends
string
=
string
ReturnType
=
unknown
ParamType
=
any
Index
Properties
impl
name
Properties
impl
impl
:
(
def
:
ImplArgs
)
=>
(
context
:
Context
,
params
:
ParamType
)
=>
ReturnType
name
name
:
NameType
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
impl
name
Traqula
Loading...
Type used to declare grammar rules.