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