@bitloops/bl-transpiler
Version:
The one and only Bitloops Language transpiler
8 lines • 364 B
JavaScript
import { identifierValidationError } from './index.js';
export const bitloopsIdentifierError = (node, thisSymbolTable) => {
const errors = [];
if (!thisSymbolTable.has(node.getIdentifierName()))
errors.push(new identifierValidationError(node.getIdentifierName(), node));
return errors;
};
//# sourceMappingURL=bitloopsIdentifierValidator.js.map