Preparing search index...
The search index is not available
@fluent/syntax - v0.19.0
@fluent/syntax - v0.19.0
BaseLiteral
Class BaseLiteral
Abstract
Base class for AST nodes which can have Spans.
Hierarchy
SyntaxNode
BaseLiteral
StringLiteral
NumberLiteral
Index
Constructors
constructor
Properties
span?
type
value
Methods
clone
equals
parse
Constructors
constructor
new
Base
Literal
(
value
:
string
)
:
BaseLiteral
Parameters
value:
string
Returns
BaseLiteral
Properties
Optional
span
span
?:
Span
Abstract
type
type
:
string
value
value
:
string
Methods
clone
clone
(
)
:
BaseLiteral
Returns
BaseLiteral
equals
equals
(
other
:
BaseNode
, ignoredFields
?:
string
[]
)
:
boolean
Parameters
other:
BaseNode
ignoredFields:
string
[]
= ...
Returns
boolean
Abstract
parse
parse
(
)
:
{
value
:
unknown
;
}
Returns
{
value
:
unknown
;
}
value
:
unknown
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@fluent/syntax -
v0.19.0
Base
Literal
constructor
span?
type
value
clone
equals
parse
Base class for AST nodes which can have Spans.