class ast.EnumValueDefinition
extends AbstractNode
Re-export
import { ast } from "https://deno.land/x/apex_core@v0.1.4/mod.ts";
const { EnumValueDefinition } = ast;
Constructors
new
EnumValueDefinition(loc: Location | undefined,
name: Name,
desc: StringValue | undefined,
index: IntValue,
display: StringValue | undefined,
annotations: Annotation[],
Properties
annotations: Annotation[]
optional
description: StringValueoptional
display: StringValueindex: IntValue
name: Name
Methods
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: StringValueoptional
display: StringValueindex: IntValue
name: Name
Methods
annotation(name: string, callback?: (annotation: Annotation) => void): Annotation | undefined