gram_ast.datetimeliteral
Interface: DateTimeLiteral
Represents an ISO8601 date-time, like 2007-04-05T14:30Z
which is
a date followed by a time, separated by a ‘T’.
see
Wikipedia ISO8601 Date and time
Hierarchy
-
↳ DateTimeLiteral
Indexable
▪ [key: string]: unknown
Represents an ISO8601 date-time, like 2007-04-05T14:30Z
which is
a date followed by a time, separated by a ‘T’.
see
Wikipedia ISO8601 Date and time
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.
tag
• tag: "datetime"
Overrides TaggedTextLiteral.tag
Defined in packages/gram-ast/src/index.ts:512
type
• type: "tagged"
Inherited from TaggedTextLiteral.type
Overrides void
Defined in packages/gram-ast/src/index.ts:451
value
• value: string
Inherited from StringLiteral.value
Overrides void
Defined in packages/gram-ast/src/index.ts:277