Search
Preparing search index...
The search index is not available
@atomist/microgrammar
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"lib/Ops"
Alt
Class Alt
Matches first match of 2 or more matchers.
Hierarchy
Alt
Implements
MatchingLogic
Index
Constructors
constructor
Properties
matchers
parse
Node
Name
Accessors
$id
Methods
match
Prefix
match
Prefix
Report
Constructors
constructor
new
Alt
(
a
:
any
, b
:
any
,
...
matchers
:
any
[]
)
:
Alt
Parameters
a:
any
b:
any
Rest
...
matchers:
any
[]
Returns
Alt
Properties
matchers
matchers
:
MatchingLogic
[]
parse
Node
Name
parse
Node
Name
:
"Alternative"
= "Alternative"
Accessors
$id
get
$id
(
)
:
string
Returns
string
Methods
match
Prefix
match
Prefix
(
is
:
InputState
, thisMatchContext
:
__type
, parseContext
:
__type
)
:
MatchPrefixResult
Parameters
is:
InputState
thisMatchContext:
__type
parseContext:
__type
Returns
MatchPrefixResult
match
Prefix
Report
match
Prefix
Report
(
is
:
InputState
, thisMatchContext
:
__type
, parseContext
:
__type
)
:
MatchReport
Parameters
is:
InputState
thisMatchContext:
__type
parseContext:
__type
Returns
MatchReport
Globals
"lib/
Ops"
Alt
constructor
matchers
parse
Node
Name
$id
match
Prefix
match
Prefix
Report
Opt
When
Matcher
Wrapping
Empty
Match
Report
first
Of
optional
when
Generated using
TypeDoc
Matches first match of 2 or more matchers.