UNPKG

@bitloops/bl-transpiler

Version:
12 lines 566 B
"use strict"; 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