Envelope Pattern TypeScript - v1.0.0-alpha.20
Preparing search index...
registerPatternDispatchFns
Function registerPatternDispatchFns
registerPatternDispatchFns
(
fns
:
{
pathsWithCaptures
:
(
pattern
:
Pattern
,
haystack
:
Envelope
,
)
=>
[
Path
[]
,
Map
<
string
,
Path
[]
>
]
;
paths
:
(
pattern
:
Pattern
,
haystack
:
Envelope
)
=>
Path
[]
;
compile
:
(
pattern
:
Pattern
,
code
:
Instr
[]
,
literals
:
Pattern
[]
,
captures
:
string
[]
,
)
=>
void
;
isComplex
:
(
pattern
:
Pattern
)
=>
boolean
;
toString
:
(
pattern
:
Pattern
)
=>
string
;
}
,
)
:
void
Registers all pattern dispatch functions. Called from index.ts after all patterns are defined.
Parameters
fns
:
{
pathsWithCaptures
:
(
pattern
:
Pattern
,
haystack
:
Envelope
,
)
=>
[
Path
[]
,
Map
<
string
,
Path
[]
>
]
;
paths
:
(
pattern
:
Pattern
,
haystack
:
Envelope
)
=>
Path
[]
;
compile
:
(
pattern
:
Pattern
,
code
:
Instr
[]
,
literals
:
Pattern
[]
,
captures
:
string
[]
,
)
=>
void
;
isComplex
:
(
pattern
:
Pattern
)
=>
boolean
;
toString
:
(
pattern
:
Pattern
)
=>
string
;
}
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Envelope Pattern TypeScript - v1.0.0-alpha.20
Loading...
Registers all pattern dispatch functions. Called from index.ts after all patterns are defined.