fluent.js
Project Fluent
GitHub
Preparing search index...
@fluent/syntax
BaseLiteral
Class BaseLiteral
Abstract
An abstract base class for Literals.
Hierarchy (
View Summary
)
SyntaxNode
BaseLiteral
StringLiteral
NumberLiteral
Indexable
[
name
:
string
]:
unknown
Index
Constructors
constructor
Properties
span?
type
value
Methods
clone
equals
parse
Constructors
constructor
new
BaseLiteral
(
value
:
string
)
:
BaseLiteral
Parameters
value
:
string
Returns
BaseLiteral
Properties
Optional
span
span
?:
Span
Abstract
type
type
:
string
value
value
:
string
Methods
clone
clone
()
:
this
Returns
this
equals
equals
(
other
:
BaseNode
,
ignoredFields
?:
string
[]
)
:
boolean
Parameters
other
:
BaseNode
ignoredFields
:
string
[]
= ...
Returns
boolean
Abstract
parse
parse
()
:
{
value
:
unknown
}
Returns
{
value
:
unknown
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
span
type
value
Methods
clone
equals
parse
Project Fluent
GitHub
fluent.js
Loading...
An abstract base class for Literals.