Files
memecoin-botV2/.pnpm-store/v10/files/ba/699f6b2b1bc8dba517201d267725591f7088eaf7912fa12f6a2368687bc323b5a02753a333f4ee6a2d47bec796fb10ffab5d37f2d2feb46d7e5afe866ebf38

43 lines
1.3 KiB
Plaintext

import type { TSESTree } from '@typescript-eslint/types';
import type { Definition } from '../definition';
import type { Reference } from '../referencer/Reference';
import type { Scope } from '../scope';
export declare class VariableBase {
/**
* A unique ID for this instance - primarily used to help debugging and testing
*/
readonly $id: number;
/**
* The array of the definitions of this variable.
* @public
*/
readonly defs: Definition[];
/**
* True if the variable is considered used for the purposes of `no-unused-vars`, false otherwise.
* @public
*/
eslintUsed: boolean;
/**
* The array of `Identifier` nodes which define this variable.
* If this variable is redeclared, this array includes two or more nodes.
* @public
*/
readonly identifiers: TSESTree.Identifier[];
/**
* The variable name, as given in the source code.
* @public
*/
readonly name: string;
/**
* List of {@link Reference} of this variable (excluding parameter entries) in its defining scope and all nested scopes.
* For defining occurrences only see {@link Variable#defs}.
* @public
*/
readonly references: Reference[];
/**
* Reference to the enclosing Scope.
*/
readonly scope: Scope;
constructor(name: string, scope: Scope);
}