Preparing search index...
The search index is not available
@spissvinkel/dsl-parser - v0.1.3
@spissvinkel/dsl-parser
string-parser
ReParser
Class ReParser
Hierarchy (
view full
)
TerminalParser
<
string
,
string
>
ReParser
Index
Constructors
constructor
Properties
re
Methods
parse
All
flat
Map
map
try
Map
recover
try
Recover
then
then
Skip
skip
Then
or
or
Either
opt
seq
parse
Constructors
constructor
new
Re
Parser
(
regex
)
:
ReParser
Parameters
regex
:
string
Returns
ReParser
Properties
Private
Readonly
re
re
:
RegExp
Methods
parse
All
parse
All
(
input
)
:
Result
<
string
,
string
>
Parameters
input
:
Input
<
string
>
Returns
Result
<
string
,
string
>
flat
Map
flat
Map
<
U
>
(
f
)
:
Parser
<
string
,
U
>
Type Parameters
U
Parameters
f
:
(
(
t
)
=>
Parser
<
string
,
U
>
)
(
t
)
:
Parser
<
string
,
U
>
Parameters
t
:
string
Returns
Parser
<
string
,
U
>
Returns
Parser
<
string
,
U
>
map
map
<
U
>
(
f
)
:
Parser
<
string
,
U
>
Type Parameters
U
Parameters
f
:
(
(
t
)
=>
U
)
(
t
)
:
U
Parameters
t
:
string
Returns
U
Returns
Parser
<
string
,
U
>
try
Map
try
Map
<
U
>
(
f
)
:
Parser
<
string
,
U
>
Type Parameters
U
Parameters
f
:
(
(
t
)
=>
Result
<
string
,
U
>
)
(
t
)
:
Result
<
string
,
U
>
Parameters
t
:
string
Returns
Result
<
string
,
U
>
Returns
Parser
<
string
,
U
>
recover
recover
<
U
>
(
f
)
:
Parser
<
string
,
U
>
Type Parameters
U
Parameters
f
:
(
(
errorMessage
)
=>
U
)
(
errorMessage
)
:
U
Parameters
errorMessage
:
string
Returns
U
Returns
Parser
<
string
,
U
>
try
Recover
try
Recover
<
U
>
(
f
)
:
Parser
<
string
,
U
>
Type Parameters
U
Parameters
f
:
(
(
errorMessage
)
=>
Result
<
string
,
U
>
)
(
errorMessage
)
:
Result
<
string
,
U
>
Parameters
errorMessage
:
string
Returns
Result
<
string
,
U
>
Returns
Parser
<
string
,
U
>
then
then
<
U
>
(
q
)
:
Parser
<
string
,
Pair
<
string
,
U
>
>
Type Parameters
U
Parameters
q
:
Parser
<
string
,
U
>
Returns
Parser
<
string
,
Pair
<
string
,
U
>
>
then
Skip
then
Skip
<
U
>
(
q
)
:
Parser
<
string
,
string
>
Type Parameters
U
Parameters
q
:
Parser
<
string
,
U
>
Returns
Parser
<
string
,
string
>
skip
Then
skip
Then
<
U
>
(
q
)
:
Parser
<
string
,
U
>
Type Parameters
U
Parameters
q
:
Parser
<
string
,
U
>
Returns
Parser
<
string
,
U
>
or
or
(
q
)
:
Parser
<
string
,
string
>
Parameters
q
:
Parser
<
string
,
string
>
Returns
Parser
<
string
,
string
>
or
Either
or
Either
<
U
>
(
q
)
:
Parser
<
string
,
Either
<
string
,
U
>
>
Type Parameters
U
Parameters
q
:
Parser
<
string
,
U
>
Returns
Parser
<
string
,
Either
<
string
,
U
>
>
opt
opt
(
)
:
Parser
<
string
,
Maybe
<
string
>
>
Returns
Parser
<
string
,
Maybe
<
string
>
>
seq
seq
(
)
:
Parser
<
string
,
string
[]
>
Returns
Parser
<
string
,
string
[]
>
parse
parse
(
input
)
:
Result
<
string
,
string
>
Parameters
input
:
Input
<
string
>
Returns
Result
<
string
,
string
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
re
parse
All
flat
Map
map
try
Map
recover
try
Recover
then
then
Skip
skip
Then
or
or
Either
opt
seq
parse
@spissvinkel/dsl-parser - v0.1.3
calculator
either
index
input
maybe
pair
parser
result
string-parser
thunk
Generated using
TypeDoc