Sha256: e198cdfe9446df718d4c4e79c65852552dc426a9218413d451a1c13b8cfdf0ce
Contents?: true
Size: 1.54 KB
Versions: 5
Compression:
Stored size: 1.54 KB
Contents
import Variable from './Variable'; import VariableReassignmentTracker from './VariableReassignmentTracker'; import ExecutionPathOptions from '../ExecutionPathOptions'; import CallOptions from '../CallOptions'; import Identifier from '../nodes/Identifier'; import ExportDefaultDeclaration from '../nodes/ExportDefaultDeclaration'; import { ExpressionEntity, ForEachReturnExpressionCallback, SomeReturnExpressionCallback } from '../nodes/shared/Expression'; import { ObjectPath } from '../values'; export default class LocalVariable extends Variable { declarations: Set<Identifier | ExportDefaultDeclaration>; boundExpressions: VariableReassignmentTracker; constructor(name: string, declarator: Identifier | ExportDefaultDeclaration | null, init: ExpressionEntity); addDeclaration(identifier: Identifier): void; forEachReturnExpressionWhenCalledAtPath(path: ObjectPath, callOptions: CallOptions, callback: ForEachReturnExpressionCallback, options: ExecutionPathOptions): void; hasEffectsWhenAccessedAtPath(path: ObjectPath, options: ExecutionPathOptions): boolean; hasEffectsWhenAssignedAtPath(path: ObjectPath, options: ExecutionPathOptions): boolean; hasEffectsWhenCalledAtPath(path: ObjectPath, callOptions: CallOptions, options: ExecutionPathOptions): boolean; includeVariable(): boolean; reassignPath(path: ObjectPath, options: ExecutionPathOptions): void; someReturnExpressionWhenCalledAtPath(path: ObjectPath, callOptions: CallOptions, predicateFunction: SomeReturnExpressionCallback, options: ExecutionPathOptions): boolean; }
Version data entries
5 entries across 5 versions & 2 rubygems