mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-06 10:19:13 +08:00
28 lines
No EOL
891 B
Text
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 |