<commit_before>const ParserCommon = require('./ParserCommon');

class Annotation extends ParserCommon {
  constructor(element) {
    super();
    this.Annotations = {};
    this.validElements = {
      'Collection': {parent: this, name: 'Collection'},
      'Record': {parent: this, name: 'Record'},
      'String': {parent: this, name: 'String', getText: true}
    };
    this.validAttributes = {
      'Term': {alreadyHandeled: true},
      'Qualifier': {},
      'String': {},
      'EnumMember': {},
      'Bool': {bool: true},
      'Int': {integer: true}
    };
    this.init(element, 'Term');
  }
}

module.exports = Annotation;
/* vim: set tabstop=2 shiftwidth=2 expandtab: */<commit_msg>Other addition for it<commit_after>const ParserCommon = require('./ParserCommon');

class Annotation extends ParserCommon {
  constructor(element) {
    super();
    this.Annotations = {};
    this.validElements = {
      'Collection': {parent: this, name: 'Collection'},
      'Record': {parent: this, name: 'Record'},
      'String': {parent: this, name: 'String', getText: true},
      'Annotation': {parent: this.Annotations, nameProp: 'Term'}
    };
    this.validAttributes = {
      'Term': {alreadyHandeled: true},
      'Qualifier': {},
      'String': {},
      'EnumMember': {},
      'Bool': {bool: true},
      'Int': {integer: true}
    };
    this.init(element, 'Term');
  }
}

module.exports = Annotation;
/* vim: set tabstop=2 shiftwidth=2 expandtab: */
{'fraction_non_alphanumeric': 0.17871759890859482, 'fraction_numerical': 0.002728512960436562, 'mean_word_length': 3.239884393063584, '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': '7174648', 'n_tokens_mistral': 453, 'n_tokens_neox': 450, 'n_words': 108}