Sha256: d88c3c3ae7b702d32e48c052f50d806bb58d13f903800d574b5b06aba189d255

Contents?: true

Size: 1.19 KB

Versions: 5

Compression:

Stored size: 1.19 KB

Contents

import { Node, NodeBase } from './shared/Node';
import ExecutionPathOptions from '../ExecutionPathOptions';
import VariableDeclarator from './VariableDeclarator';
import MagicString from 'magic-string';
import { NodeType } from './NodeType';
import { NodeRenderOptions, RenderOptions } from '../../utils/renderHelpers';
import { ObjectPath } from '../values';
export declare function isVariableDeclaration(node: Node): node is VariableDeclaration;
export default class VariableDeclaration extends NodeBase {
    type: NodeType.VariableDeclaration;
    declarations: VariableDeclarator[];
    kind: 'var' | 'let' | 'const';
    reassignPath(_path: ObjectPath, _options: ExecutionPathOptions): void;
    hasEffectsWhenAssignedAtPath(_path: ObjectPath, _options: ExecutionPathOptions): boolean;
    includeWithAllDeclaredVariables(): boolean;
    includeInBundle(): boolean;
    initialiseChildren(): void;
    render(code: MagicString, options: RenderOptions, nodeRenderOptions?: NodeRenderOptions): void;
    private renderReplacedDeclarations(code, options, {start, end, isNoStatement});
    private renderDeclarationEnd(code, separatorString, lastSeparatorPos, actualContentEnd, renderedContentEnd, addSemicolon);
}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
jass-0.9.5 vendor/node_modules/rollup/dist/typings/ast/nodes/VariableDeclaration.d.ts
jass-0.9.4 vendor/node_modules/rollup/dist/typings/ast/nodes/VariableDeclaration.d.ts
jass-0.9.3 vendor/node_modules/rollup/dist/typings/ast/nodes/VariableDeclaration.d.ts
condenser-0.0.4 lib/condenser/processors/node_modules/rollup/dist/typings/ast/nodes/VariableDeclaration.d.ts
jass-0.9.1 vendor/node_modules/rollup/dist/typings/ast/nodes/VariableDeclaration.d.ts