Skip to main content
Module

x/apex_core/index.ts>apex.ast.AliasDefinition

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

Constructors

new
AliasDefinition(
loc: Location | undefined,
name: Name,
description: StringValue | undefined,
type: Type,
annotations?: Annotation[],
)

Properties

annotations: Annotation[]
optional
description: StringValue
name: Name
type: Type

Methods

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

Constructors

new
AliasDefinition(
loc: Location | undefined,
name: Name,
description: StringValue | undefined,
type: Type,
annotations?: Annotation[],
)

Properties

annotations: Annotation[]
optional
description: StringValue
name: Name
type: Type

Methods

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