Urara-Blog/node_modules/.pnpm-store/v3/files/80/89908e26de9159c839292f386c527f0d82cc9afe2413c353131d44a383ff8692bb4e4c183dad110d2745f2671688243d9bfc5f5287b3e11f6a9b53ad05025d
2022-08-14 01:14:53 +08:00

28 lines
No EOL
891 B
Text

import { TSESTree } from '../ts-estree';
import { Scope } from './Scope';
import { Variable } from './Variable';
export declare type ReferenceFlag = 0x1 | 0x2 | 0x3;
interface Reference {
identifier: TSESTree.Identifier;
from: Scope;
resolved: Variable | null;
writeExpr: TSESTree.Node | null;
init: boolean;
partial: boolean;
__maybeImplicitGlobal: boolean;
tainted?: boolean;
typeMode?: boolean;
isWrite(): boolean;
isRead(): boolean;
isWriteOnly(): boolean;
isReadOnly(): boolean;
isReadWrite(): boolean;
}
declare const Reference: {
new (identifier: TSESTree.Identifier, scope: Scope, flag?: ReferenceFlag, writeExpr?: TSESTree.Node | null, maybeImplicitGlobal?: boolean, partial?: boolean, init?: boolean): Reference;
READ: 0x1;
WRITE: 0x2;
RW: 0x3;
};
export { Reference };
//# sourceMappingURL=Reference.d.ts.map