import { SetAccessorDeclaration } from "https://deno.land/x/ts_morph@16.0.0/mod.ts";
Methods
getGetAccessor(): GetAccessorDeclaration | undefined
Gets the corresponding get accessor if one exists.
Gets the corresponding get accessor or throws if not exists.
getParent(): NodeParentType<ts.SetAccessorDeclaration>
getParentOrThrow(): NonNullable<NodeParentType<ts.SetAccessorDeclaration>>
Gets the structure equivalent to this node.
set(structure: Partial<SetAccessorDeclarationStructure>): this
Sets the node from a structure.