Search
Preparing search index...
The search index is not available
@atomist/microgrammar
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"lib/Primitives"
Literal
Class Literal
Match a literal string
Hierarchy
Literal
Implements
MatchingLogic
Index
Constructors
constructor
Properties
$id
literal
parse
Node
Name
Accessors
required
Prefix
Methods
can
Start
With
match
Prefix
match
Prefix
Report
Constructors
constructor
new
Literal
(
literal
:
string
)
:
Literal
Parameters
literal:
string
Returns
Literal
Properties
$id
$id
:
string
= `Literal[${this.literal}]`
literal
literal
:
string
parse
Node
Name
parse
Node
Name
:
"Literal"
= "Literal"
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
)
:
MatchPrefixResult
Parameters
is:
InputState
Returns
MatchPrefixResult
match
Prefix
Report
match
Prefix
Report
(
is
:
InputState
)
:
MatchReport
Parameters
is:
InputState
Returns
MatchReport
Globals
"lib/
Primitives"
Abstract
Regex
Literal
constructor
$id
literal
parse
Node
Name
required
Prefix
can
Start
With
match
Prefix
match
Prefix
Report
Match
Float
Match
Integer
Match
Lowercase
Boolean
Regex
Float
Integer
LOOK_
AHEAD_
SIZE
Lowercase
Boolean
common
Portion
is
Literal
Generated using
TypeDoc
Match a literal string