Skip to main content
Module

x/apex_core/ast.ts>ImportDefinition

JavaScript / Node.js support for the Apex language
Latest
class ImportDefinition
implements Annotated
extends AbstractNode
Re-export
import { ImportDefinition } from "https://deno.land/x/apex_core@v0.1.5/ast.ts";

Constructors

new
ImportDefinition(
loc: Location | undefined,
description: StringValue | undefined,
all: boolean,
names: ImportName[],
annotations?: Annotation[],
)

Properties

all: boolean
optional
annotations: Annotation[]
optional
description: StringValue
names: ImportName[]

Methods

accept(context: Context, visitor: Visitor): void
annotation(name: string, callback?: (annotation: Annotation) => void): Annotation | undefined

Constructors

new
ImportDefinition(
loc: Location | undefined,
description: StringValue | undefined,
all: boolean,
names: ImportName[],
annotations?: Annotation[],
)

Properties

all: boolean
optional
annotations: Annotation[]
optional
description: StringValue
names: ImportName[]

Methods

accept(context: Context, visitor: Visitor): void
annotation(name: string, callback?: (annotation: Annotation) => void): Annotation | undefined