LiteralNode

class LiteralNode(value: Value, sourceLocation: SourceLocation) : AtomicExpressionNode

A literal constant.

Constructors

LiteralNode
Link copied to clipboard
fun LiteralNode(value: Value, sourceLocation: SourceLocation)

Functions

toDocument
Link copied to clipboard
override fun toDocument(): Document

Properties

comment
Link copied to clipboard
override val comment: String?

Expressions cannot have associated comments.

sourceLocation
Link copied to clipboard
open override val sourceLocation: SourceLocation
value
Link copied to clipboard
val value: Value