Search
Preparing search index...
The search index is not available
@atomist/microgrammar
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"lib/matchers/Concat"
NamedMatcher
Class NamedMatcher
Give an existing matcher a name
Hierarchy
NamedMatcher
Implements
Matcher
Index
Constructors
constructor
Properties
$id
ml
name
Accessors
required
Prefix
Methods
can
Start
With
match
Prefix
match
Prefix
Report
Constructors
constructor
new
Named
Matcher
(
name
:
string
, ml
:
MatchingLogic
)
:
NamedMatcher
Parameters
name:
string
ml:
MatchingLogic
Returns
NamedMatcher
Properties
$id
$id
:
string
= this.name
ml
ml
:
MatchingLogic
name
name
:
string
Accessors
required
Prefix
get
requiredPrefix
(
)
:
string
Returns
string
Methods
can
Start
With
can
Start
With
(
char
:
string
)
:
boolean
Parameters
char:
string
Returns
boolean
match
Prefix
match
Prefix
(
is
:
InputState
, thisMatchContext
:
any
, parseContext
:
any
)
:
MatchPrefixResult
Parameters
is:
InputState
thisMatchContext:
any
parseContext:
any
Returns
MatchPrefixResult
match
Prefix
Report
match
Prefix
Report
(
is
:
InputState
, thisMatchContext
:
any
, parseContext
:
any
)
:
MatchReport
Parameters
is:
InputState
thisMatchContext:
any
parseContext:
any
Returns
MatchReport
Globals
"lib/matchers/
Concat"
Concat
Named
Matcher
constructor
$id
ml
name
required
Prefix
can
Start
With
match
Prefix
match
Prefix
Report
Concatenation
Context
Computation
Match
Veto
Concat
Definitions
Match
Step
Term
Def
methods
OnEvery
Matching
Logic
apply
Computation
is
Match
Veto
is
Matcher
is
Named
Matcher
to
Matching
Logic
whitespace
Child
Match
Generated using
TypeDoc
Give an existing matcher a name