Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/apex_core/mod.ts>ast.ValuedDefinition#annotation

JavaScript / Node.js support for the Apex language
Go to Latest
method ast.ValuedDefinition.prototype.annotation
import { ast } from "https://deno.land/x/apex_core@v0.1.0/mod.ts";
const { ValuedDefinition } = ast;

Parameters

name: string
optional
callback: (annotation: Annotation) => void

Returns

Annotation | undefined