@bitloops/bl-transpiler
Version:
The one and only Bitloops Language transpiler
10 lines • 521 B
JavaScript
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