Skip to main content
Module

x/apex_core/mod.ts>ast.ImportDefinition

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

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