<commit_before>var die = require("../die");
var es = require("../es");

function IdentifierExpression(transform, node) {
    var id = transform(node.data);
    var name = es.Literal(node.data.data);
    var ref = es.Identifier("$ref");
    if (ref === "_") {
        die("squiggle: cannot compile a reference to a variable named _ as that will never be bound");
    }
    return es.CallExpression(ref, [id, name]);
}

module.exports = IdentifierExpression;<commit_msg>Made error length less than 80 chars<commit_after>var die = require("../die");
var es = require("../es");

function IdentifierExpression(transform, node) {
    var id = transform(node.data);
    var name = es.Literal(node.data.data);
    var ref = es.Identifier("$ref");
    if (ref === "_") {
        die("squiggle: cannot compile ref _ -it will never be bound");
    }
    return es.CallExpression(ref, [id, name]);
}

module.exports = IdentifierExpression;
{'fraction_non_alphanumeric': 0.15641855447680691, 'fraction_numerical': 0.002157497303128371, 'mean_word_length': 3.594059405940594, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3297747', 'n_tokens_mistral': 284, 'n_tokens_neox': 276, 'n_words': 83}