Skip to main content
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://deno.land/x/ts_morph@15.1.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.