Preparing search index...
The search index is not available
Kombo - v3.0.0
Kombo - v3.0.0
Parser
Bag
Type alias Bag<CTX, PROBLEM>
Internal
Bag
<
CTX
,
PROBLEM
>
:
Parser
.
Empty
|
Parser
.
AddRight
<
CTX
,
PROBLEM
>
|
Parser
.
Append
<
CTX
,
PROBLEM
>
Keeps track of the context and problem as they are encountered by the parser.
The
Empty
type is used to end the recursion, never used on its own.
The
AddRight
type is for when our parser encounters a problem.
The
Append
type is only used by
oneOfMany
to describe errors occurring at the same "level" in the parser.
Type Parameters
CTX
PROBLEM
github
kombo-json
kombo-workshop
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Kombo -
v3.0.0
Advanced
Helpers
Parser
Result
Simple
Parser
Add
Right
Append
Bad
Bag
Dead
End
Empty
Get
Argument
Type
Get
Return
Type
Good
Located
PStep
State
Unit
Empty
Unit
Add
Right
Append
Bad
Deadend
Good
bag
To
List
from
Info
from
State
get
Context
is
Add
Right
is
Append
is
Bad
is
Empty
is
Good
Keeps track of the context and problem as they are encountered by the parser.