gram_ast.uriliteral
Interface: UriLiteral
Represents a well-formed URI.
Some examples:
geo
A ‘geo’ URI identifies a physical location in a two- or three-dimensional coordinate reference system in a compact, simple, human-readable, and protocol-independent way.
uri`geo:39.282495,-76.594709`
see
IETF RFC5870
plus
A ‘plus’ URI identifies a physical location encoded as Open Location Code, a “plus code”.
uri`plus:7CJ4+W4 Baltimore, MD`
h3
An ‘h3’ URI identifies a physical location encoded using the H3 geospatial indexing system, a multi-precision hexagonal tiling of the sphere indexed with hierarchical linear indexes.
uri`h3:8c2aa8c76b11bff`
see
H3
http(s)
Hopefully This Thing Presents Sensibly, a popular scheme used on the interwebs.
Hierarchy
-
↳ UriLiteral
Indexable
▪ [key: string]: unknown
Represents a well-formed URI.
Some examples:
geo
A ‘geo’ URI identifies a physical location in a two- or three-dimensional coordinate reference system in a compact, simple, human-readable, and protocol-independent way.
uri`geo:39.282495,-76.594709`
see
IETF RFC5870
plus
A ‘plus’ URI identifies a physical location encoded as Open Location Code, a “plus code”.
uri`plus:7CJ4+W4 Baltimore, MD`
h3
An ‘h3’ URI identifies a physical location encoded using the H3 geospatial indexing system, a multi-precision hexagonal tiling of the sphere indexed with hierarchical linear indexes.
uri`h3:8c2aa8c76b11bff`
see
H3
http(s)
Hopefully This Thing Presents Sensibly, a popular scheme used on the interwebs.
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: "uri"
Overrides TaggedTextLiteral.tag
Defined in packages/gram-ast/src/index.ts:643
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