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