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