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