Sha256: c60b7816bc0260016c38e896e6860472b2fdfc14ec6343df88eef80f227d588f

Contents?: true

Size: 1.65 KB

Versions: 5

Compression:

Stored size: 1.65 KB

Contents

import { ObjectPath } from '../values';
import ExecutionPathOptions from '../ExecutionPathOptions';
import CallOptions from '../CallOptions';
import Scope from '../scopes/Scope';
import MagicString from 'magic-string';
import { ForEachReturnExpressionCallback, SomeReturnExpressionCallback } from './shared/Expression';
import { NodeType } from './NodeType';
import { ExpressionNode, NodeBase } from './shared/Node';
import { RenderOptions } from '../../utils/renderHelpers';
export default class ConditionalExpression extends NodeBase {
    type: NodeType.ConditionalExpression;
    test: ExpressionNode;
    alternate: ExpressionNode;
    consequent: ExpressionNode;
    testValue: any;
    reassignPath(path: ObjectPath, options: ExecutionPathOptions): void;
    forEachReturnExpressionWhenCalledAtPath(path: ObjectPath, callOptions: CallOptions, callback: ForEachReturnExpressionCallback, options: ExecutionPathOptions): void;
    getValue(): any;
    hasEffects(options: ExecutionPathOptions): boolean;
    hasEffectsWhenAccessedAtPath(path: ObjectPath, options: ExecutionPathOptions): boolean;
    hasEffectsWhenAssignedAtPath(path: ObjectPath, options: ExecutionPathOptions): boolean;
    hasEffectsWhenCalledAtPath(path: ObjectPath, callOptions: CallOptions, options: ExecutionPathOptions): boolean;
    initialiseChildren(parentScope: Scope): void;
    render(code: MagicString, options: RenderOptions): void;
    someReturnExpressionWhenCalledAtPath(path: ObjectPath, callOptions: CallOptions, predicateFunction: SomeReturnExpressionCallback, options: ExecutionPathOptions): boolean;
    private forEachRelevantBranch(callback);
    private someRelevantBranch(predicateFunction);
}

Version data entries

5 entries across 5 versions & 2 rubygems

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