@bitloops/bl-transpiler
Version:
The one and only Bitloops Language transpiler
12 lines • 566 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.readModelIdentifierError = void 0;
const validationErrors_js_1 = require("./validationErrors.js");
const readModelIdentifierError = (node, thisSymbolTable) => {
const errors = [];
if (!thisSymbolTable.has(node.getIdentifierName()))
errors.push(new validationErrors_js_1.identifierValidationError(node.getIdentifierName(), node));
return errors;
};
exports.readModelIdentifierError = readModelIdentifierError;
//# sourceMappingURL=readModelIdentifierError.js.map