class ast.EnumDefinition
extends AbstractNode
Re-export
import { ast } from "https://deno.land/x/apex_core@v0.1.3/mod.ts";
const { EnumDefinition } = ast;
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