Module

x/ts_morph/mod.ts>GetAccessorDeclaration

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class GetAccessorDeclaration
extends GetAccessorDeclarationBase<ts.GetAccessorDeclaration>
import { GetAccessorDeclaration } from "https://dotland.deno.dev/x/ts_morph@16.0.0/mod.ts";

Methods

getParent(): NodeParentType<ts.GetAccessorDeclaration>
getParentOrThrow(): NonNullable<NodeParentType<ts.GetAccessorDeclaration>>

Gets the corresponding set accessor if one exists.

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.