class EnumDefinition
extends AbstractNode
Re-export
import { EnumDefinition } from "https://deno.land/x/apex_core@v0.1.5/ast/mod.ts";
Constructors
new
EnumDefinition(loc: Location | undefined,
name: Name,
desc: StringValue | undefined,
annotations: Annotation[],
values: EnumValueDefinition[],
Methods
annotation(name: string, callback?: (annotation: Annotation) => void): Annotation | undefined
Constructors
new
EnumDefinition(loc: Location | undefined,
name: Name,
desc: StringValue | undefined,
annotations: Annotation[],
values: EnumValueDefinition[],
Methods
annotation(name: string, callback?: (annotation: Annotation) => void): Annotation | undefined