UNPKG

@bitloops/bl-transpiler

Version:
10 lines 521 B
import { identifierValidationError } from './validationErrors.js'; // TODO: check why is this not matching with bitloopsIdentifierValidator export const domainServiceEvaluationError = (node, thisSymbolTable) => { const errors = []; const identifier = node.getIdentifierNode(); if (!thisSymbolTable.has(identifier.getIdentifierName())) errors.push(new identifierValidationError(identifier.getIdentifierName(), identifier)); return errors; }; //# sourceMappingURL=domainServiceEvaluationError.js.map