@neutrium/utilities - v5.0.0
GitHub
Neutrium
Preparing search index...
index
binaryParselet
Function binaryParselet
binaryParselet
<
T
extends
SourceSpan
,
Node
>
(
power
:
number
,
associativity
:
"left"
|
"right"
,
build
:
(
left
:
Node
,
token
:
T
,
right
:
Node
)
=>
Node
,
)
:
InfixParselet
<
T
,
Node
>
Build a binary parselet with explicit associativity and a consumer-owned node builder.
Type Parameters
T
extends
SourceSpan
Node
Parameters
power
:
number
associativity
:
"left"
|
"right"
build
:
(
left
:
Node
,
token
:
T
,
right
:
Node
)
=>
Node
Returns
InfixParselet
<
T
,
Node
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
GitHub
Neutrium
@neutrium/utilities - v5.0.0
Loading...
Build a binary parselet with explicit associativity and a consumer-owned node builder.