import { VariableStatement } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";
Methods
Add a variable declaration to the statement.
addDeclarations(structures: ReadonlyArray<OptionalKind<VariableDeclarationStructure>>): VariableDeclaration[]
Adds variable declarations to the statement.
Gets the variable declaration kind.
getDeclarationKindKeyword(): Node<ts.Node>
Gets the variable declaration kind keyword.
Get variable declaration list.
Get the variable declarations.
getParent(): NodeParentType<ts.VariableStatement>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.VariableStatement>>
Gets the structure equivalent to this node.
insertDeclaration(index: number, structure: OptionalKind<VariableDeclarationStructure>): VariableDeclaration
Inserts a variable declaration at the specified index within the statement.
insertDeclarations(index: number, structures: ReadonlyArray<OptionalKind<VariableDeclarationStructure>>): VariableDeclaration[]
Inserts variable declarations at the specified index within the statement.
set(structure: Partial<VariableStatementStructure>): this
Sets the node from a structure.
Sets the variable declaration kind.