Files
memecoin-botV2/.pnpm-store/v10/files/27/607eb483375392c7e66aad8f8d8ea18f6544dd6663514cc889752f051b554daee0b1d20810939a86256eac1b4d4ae551d85f1c788955d6380eb1efd83ffe29

35 lines
814 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DefinitionBase = void 0;
const ID_1 = require("../ID");
const generator = (0, ID_1.createIdGenerator)();
class DefinitionBase {
/**
* A unique ID for this instance - primarily used to help debugging and testing
*/
$id = generator();
type;
/**
* The `Identifier` node of this definition
* @public
*/
name;
/**
* The enclosing node of the name.
* @public
*/
node;
/**
* the enclosing statement node of the identifier.
* @public
*/
parent;
constructor(type, name, node, parent) {
this.type = type;
this.name = name;
this.node = node;
this.parent = parent;
}
}
exports.DefinitionBase = DefinitionBase;