Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
parsimmon
Parsimmon
Parser
Interface Parser
Index
Methods
atLeast
atMost
chain
desc
many
map
mark
or
parse
result
skip
then
times
Methods
public
atLeast
(
n
:
number
)
:
Parser
Parameters
n:
number
Returns
Parser
public
atMost
(
n
:
number
)
:
Parser
Parameters
n:
number
Returns
Parser
public
chain
(
next
:
(result: T) => 'parsimmon'.Parsimmon.Parser<U>
)
:
Parser
Parameters
next:
(result: T) => 'parsimmon'.Parsimmon.Parser<U>
Returns
Parser
public
desc
(
description
:
string
)
:
Parser
Parameters
description:
string
Returns
Parser
public
many
(
)
:
Parser
Returns
Parser
public
map
(
call
:
(result: T) => U
)
:
Parser
Parameters
call:
(result: T) => U
Returns
Parser
public
mark
(
)
:
Parser
Returns
Parser
public
or
(
otherParser
:
Parser
)
:
Parser
Parameters
otherParser:
Parser
Returns
Parser
public
or
(
otherParser
:
Parser
)
:
Parser
Parameters
otherParser:
Parser
Returns
Parser
public
parse
(
input
:
string
)
:
Result
Parameters
input:
string
Returns
Result
public
result
(
aResult
:
U
)
:
Parser
Parameters
aResult:
U
Returns
Parser
public
skip
(
otherParser
:
Parser
)
:
Parser
Parameters
otherParser:
Parser
Returns
Parser
public
then
(
call
:
(result: T) => 'parsimmon'.Parsimmon.Parser<U>
)
:
Parser
Parameters
call:
(result: T) => 'parsimmon'.Parsimmon.Parser<U>
Returns
Parser
public
then
(
anotherParser
:
Parser
)
:
Parser
Parameters
anotherParser:
Parser
Returns
Parser
public
times
(
n
:
number
)
:
Parser
Parameters
n:
number
Returns
Parser
public
times
(
min
:
number
, max
:
number
)
:
Parser
Parameters
min:
number
max:
number
Returns
Parser
Globals
parsimmon
parsimmon.Parsimmon
all
any
digit
digits
eof
index
letter
letters
optWhitespace
whitespace
Mark
Parser
atLeast
atMost
chain
desc
many
map
mark
or
parse
result
skip
then
times
Result
alt
fail
lazy
regex
seq
string
succeed