class ImportDefinition
implements Annotated
extends AbstractNode
Re-export
import { ImportDefinition } from "https://deno.land/x/apex_core@v0.1.3/ast/mod.ts";
Constructors
new
ImportDefinition(loc: Location | undefined,
description: StringValue | undefined,
all: boolean,
names: ImportName[],
from: StringValue,
annotations?: Annotation[],
Properties
optional
annotations: Annotation[]optional
description: StringValuefrom: StringValue
names: ImportName[]
Methods
annotation(name: string, callback?: (annotation: Annotation) => void): Annotation | undefined
Constructors
new
ImportDefinition(loc: Location | undefined,
description: StringValue | undefined,
all: boolean,
names: ImportName[],
from: StringValue,
annotations?: Annotation[],
Properties
optional
annotations: Annotation[]optional
description: StringValuefrom: StringValue
names: ImportName[]
Methods
annotation(name: string, callback?: (annotation: Annotation) => void): Annotation | undefined