Skip to main content
Module

x/deno2node/src/deps.deno.ts>GetAccessorDeclaration

Compile your Deno project to run on Node.js.
Latest
class GetAccessorDeclaration
extends GetAccessorDeclarationBase<ts.GetAccessorDeclaration>
import { GetAccessorDeclaration } from "https://deno.land/x/deno2node@v1.12.0/src/deps.deno.ts";

Methods

getParent(): NodeParentType<ts.GetAccessorDeclaration>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.GetAccessorDeclaration>>

Gets the corresponding set accessor if one exists.

getSetAccessorOrThrow(message?: string | (() => string)): SetAccessorDeclaration

Gets the corresponding set accessor or throws if not exists.

Gets the structure equivalent to this node.

set(structure: Partial<GetAccessorDeclarationStructure>): this

Sets the node from a structure.