import { GetAccessorDeclaration } from "https://deno.land/x/ts_morph@19.0.0/mod.ts";
Methods
getParent(): NodeParentType<ts.GetAccessorDeclaration>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.GetAccessorDeclaration>>
getSetAccessor(): SetAccessorDeclaration | undefined
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.