<commit_before>const Statement = require('../entities/Statement.js');
const error = require('../error.js');

class ReturnStatement extends Statement {
  constructor(returnValue) {
    super();
    this.returnValue = returnValue;
  }
  analyze(context) {
    if (context.inFunction) {
      error('Return statement not in function');
    }
    // this.body.analyze();
  }
  toString() {
<<<<<<< HEAD
    return (`(ReturnStatement return ${this.body})`);
=======
    return (`return ${this.returnValue}`);
>>>>>>> master
  }
}

module.exports = ReturnStatement;<commit_msg>Remove broken merge commit header<commit_after>const Statement = require('../entities/Statement.js');
const error = require('../error.js');

class ReturnStatement extends Statement {
  constructor(returnValue) {
    super();
    this.returnValue = returnValue;
  }
  analyze(context) {
    if (context.inFunction) {
      error('Return statement not in function');
    }
    // this.body.analyze();
  }
  toString() {
    return (`(ReturnStatement return ${this.body})`);
  }
}

module.exports = ReturnStatement;
{'fraction_non_alphanumeric': 0.16620498614958448, 'fraction_numerical': 0.0, 'mean_word_length': 3.754385964912281, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '5080083', 'n_tokens_mistral': 314, 'n_tokens_neox': 314, 'n_words': 68}