Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mesozoic/lib/deps.ts>ImportSpecifier

A generic build system for Deno web apps
Go to Latest
interface ImportSpecifier
import { type ImportSpecifier } from "https://deno.land/x/mesozoic@v1.3.9/lib/deps.ts";

Properties

readonly
n: string | undefined

Module name

To handle escape sequences in specifier strings, the .n field of imported specifiers will be provided where possible.

For dynamic import expressions, this field will be empty if not a valid JS string.

readonly
s: number

Start of module specifier

readonly
e: number

End of module specifier

readonly
ss: number

Start of import statement

readonly
se: number

End of import statement

readonly
d: number

If this import keyword is a dynamic import, this is the start value. If this import keyword is a static import, this is -1. If this import keyword is an import.meta expresion, this is -2.

readonly
a: number

If this import has an import assertion, this is the start value. Otherwise this is -1.