UNPKG

@bitloops/bl-transpiler

Version:
14 lines 726 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.domainServiceEvaluationError = void 0; const validationErrors_js_1 = require("./validationErrors.js"); // TODO: check why is this not matching with bitloopsIdentifierValidator const domainServiceEvaluationError = (node, thisSymbolTable) => { const errors = []; const identifier = node.getIdentifierNode(); if (!thisSymbolTable.has(identifier.getIdentifierName())) errors.push(new validationErrors_js_1.identifierValidationError(identifier.getIdentifierName(), identifier)); return errors; }; exports.domainServiceEvaluationError = domainServiceEvaluationError; //# sourceMappingURL=domainServiceEvaluationError.js.map