persona-community-5/.pnpm-store/v3/files/27/09559790eae953c2e778f2ee6faf3bb745a188ebd5b4b4f40a71e9c3a26733679e23c6fcb829096daafeb5fc9978f5179017138bd713220f08f6095a0fc495
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

39 lines
1.3 KiB
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VariableBase = void 0;
const ID_1 = require("../ID");
const generator = (0, ID_1.createIdGenerator)();
class VariableBase {
constructor(name, scope) {
/**
* A unique ID for this instance - primarily used to help debugging and testing
*/
this.$id = generator();
/**
* The array of the definitions of this variable.
* @public
*/
this.defs = [];
/**
* True if the variable is considered used for the purposes of `no-unused-vars`, false otherwise.
* @public
*/
this.eslintUsed = false;
/**
* The array of `Identifier` nodes which define this variable.
* If this variable is redeclared, this array includes two or more nodes.
* @public
*/
this.identifiers = [];
/**
* 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
*/
this.references = [];
this.name = name;
this.scope = scope;
}
}
exports.VariableBase = VariableBase;
//# sourceMappingURL=VariableBase.js.map