gram_ast.booleanliteral
Interface: BooleanLiteral
Represents a boolean literal, like true
or false
.
Hierarchy
-
TextLiteral
↳ BooleanLiteral
Indexable
▪ [key: string]: unknown
Represents a boolean literal, like true
or false
.
Index
Properties
Properties
data
• Optional
data: Data
Defined in packages/gram-ast/node_modules/@types/unist/index.d.ts:23
Information from the ecosystem.
position
• Optional
position: Position
Inherited from GramSeq.position
Defined in packages/gram-ast/node_modules/@types/unist/index.d.ts:29
Location of a node in a source document. Must not be present if a node is generated.
type
• type: "boolean"
Overrides void
Defined in packages/gram-ast/src/index.ts:308
Represents this variant of a Literal.
value
• value: "true" | "false"
Overrides StringLiteral.value
Defined in packages/gram-ast/src/index.ts:310