Sha256: e4bb42be50d156b3a056a9df2aa2fd4fae80a570e71dfdeff24d95bc0d34228f

Contents?: true

Size: 1.24 KB

Versions: 5

Compression:

Stored size: 1.24 KB

Contents

import ExecutionPathOptions from '../ExecutionPathOptions';
import MagicString from 'magic-string';
import { SomeReturnExpressionCallback } from './shared/Expression';
import { Node, NodeBase } from './shared/Node';
import { NodeType } from './NodeType';
import CallOptions from '../CallOptions';
import { ObjectPath } from '../values';
import { RenderOptions } from '../../utils/renderHelpers';
export declare type LiteralValueTypes = string | boolean | null | number | RegExp;
export declare function isLiteral(node: Node): node is Literal;
export default class Literal<T = LiteralValueTypes> extends NodeBase {
    type: NodeType.Literal;
    value: T;
    private members;
    getValue(): T;
    hasEffectsWhenAccessedAtPath(path: ObjectPath, _options: ExecutionPathOptions): boolean;
    hasEffectsWhenAssignedAtPath(path: ObjectPath, _options: ExecutionPathOptions): boolean;
    hasEffectsWhenCalledAtPath(path: ObjectPath, callOptions: CallOptions, options: ExecutionPathOptions): boolean;
    initialiseNode(): void;
    render(code: MagicString, _options: RenderOptions): void;
    someReturnExpressionWhenCalledAtPath(path: ObjectPath, callOptions: CallOptions, predicateFunction: SomeReturnExpressionCallback, options: ExecutionPathOptions): boolean;
}

Version data entries

5 entries across 5 versions & 2 rubygems

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