class DirectiveDefinition
implements Definition
extends AbstractNode
import { DirectiveDefinition } from "https://deno.land/x/apex_core@v0.1.5/ast/definitions.ts";
Constructors
new
DirectiveDefinition(loc: Location | undefined,
name: Name,
description: StringValue | undefined,
parameters: ParameterDefinition[],
locations: Name[],
requires?: DirectiveRequire[],
Properties
optional
description: StringValuelocations: Name[]
name: Name
parameters: ParameterDefinition[]
requires: DirectiveRequire[]
Methods
hasLocation(location: string): boolean