import { type BaseExpressionedNode } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Type Parameters
TExpression extends Node
Methods
getExpression(): TExpression
Gets the expression.
getExpressionIfKind<TKind extends SyntaxKind>(kind: TKind): KindToExpressionMappings[TKind] | undefined
Gets the expression if its of a certain kind or returns undefined.
getExpressionIfKindOrThrow<TKind extends SyntaxKind>(kind: TKind): KindToExpressionMappings[TKind]
Gets the expression if its of a certain kind or throws.
setExpression(textOrWriterFunction: string | WriterFunction): this
Sets the expression.
import { BaseExpressionedNode } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Type Parameters
T extends Constructor<ExpressionedNodeExtensionType>
optional
TExpression extends Node = CompilerNodeToWrappedType<InstanceOf<T>["compilerNode"]>Parameters
Base: T