viaduct
0.3.0
compiler
/
io.github.aplcornell.viaduct.syntax.surface
/
LiteralNode
Literal
Node
class
LiteralNode
(
val
value
:
Value
,
val
sourceLocation
:
SourceLocation
)
:
AtomicExpressionNode
A literal constant.
Constructors
Functions
Properties
Constructors
Literal
Node
Link copied to clipboard
fun
LiteralNode
(
value
:
Value
,
sourceLocation
:
SourceLocation
)
Functions
to
Document
Link copied to clipboard
override
fun
toDocument
(
)
:
Document
Properties
comment
Link copied to clipboard
override
val
comment
:
String
?
Expressions cannot have associated comments.
source
Location
Link copied to clipboard
open
override
val
sourceLocation
:
SourceLocation
value
Link copied to clipboard
val
value
:
Value