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