Skip to main content
Module

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

Compile your Deno project to run on Node.js.
Go to Latest
interface AbstractableNode
import { type AbstractableNode } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Methods

isAbstract(): boolean

Gets if the node is abstract.

getAbstractKeyword(): Node | undefined

Gets the abstract keyword or undefined if it doesn't exist.

getAbstractKeywordOrThrow(message?: string | (() => string)): Node

Gets the abstract keyword or throws if it doesn't exist.

setIsAbstract(isAbstract: boolean): this

Sets if the node is abstract.

function AbstractableNode
import { AbstractableNode } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Type Parameters

T extends Constructor<AbstractableNodeExtensionType>