gram_ast.octalliteral


gram.js API

Globals / gram-ast / OctalLiteral

Interface: OctalLiteral

Represents an integer expressed in octal, like 01372.

The prefix 0 signifies octal notation value to follow. Without the leading 0, the number would represent an integer.

Hierarchy

  • TextLiteral

    OctalLiteral

Indexable

▪ [key: string]: unknown

Represents an integer expressed in octal, like 01372.

The prefix 0 signifies octal notation value to follow. Without the leading 0, the number would represent an integer.

Index

Properties

Properties

data

Optional data: Data

Inherited from GramSeq.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: "octal"

Overrides void

Defined in packages/gram-ast/src/index.ts:395


value

value: string

Inherited from StringLiteral.value

Overrides void

Defined in packages/gram-ast/src/index.ts:277