Skip to main content
Module

x/apex_core/ast.ts>EnumValueDefinition

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

Constructors

new
EnumValueDefinition(
loc: Location | undefined,
name: Name,
desc: StringValue | undefined,
index: IntValue,
display: StringValue | undefined,
annotations: Annotation[],
)

Properties

annotations: Annotation[]
optional
description: StringValue
optional
display: StringValue
index: IntValue
name: Name

Methods

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

Constructors

new
EnumValueDefinition(
loc: Location | undefined,
name: Name,
desc: StringValue | undefined,
index: IntValue,
display: StringValue | undefined,
annotations: Annotation[],
)

Properties

annotations: Annotation[]
optional
description: StringValue
optional
display: StringValue
index: IntValue
name: Name

Methods

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