<commit_before>'use strict';

export class KeyInfo {

  constructor(evt) {
    this.evt = evt;
  }
  
  get char() { return String.fromCharCode(this.evt.keyCode || this.evt.charCode); }

  get meta() { return this.metaKey; }
  get metaKey() { return this.evt.metaKey; }

  get ctrl() { return this.ctrlKey; }
  get ctrlKey() { return this.evt.ctrlKey; }

  get shift() { return this.shiftKey; }
  get shiftKey() { return this.evt.shiftKey; }

  get alt() { return  this.altKey; }
  get altKey() { return this.evt.altKey; }

  get keyCode() { return this.evt.keyCode; }

  get charCode() { return this.evt.charCode; }
  
  get enter() { return this.keyCode === 13; }<commit_msg>added right modifiers to keyInfo<commit_after>'use strict';

export class KeyInfo {

  constructor(evt) {
    this.evt = evt;
  }
  
  get char() { return String.fromCharCode(this.evt.keyCode || this.evt.charCode); }

  get meta() { return this.metaKey; }
  get metaKey() { return this.evt.metaKey; }

  get ctrl() { return this.ctrlKey; }
  get ctrlKey() { return this.evt.ctrlKey; }
  get ctrlRight() { return this.evt.ctrlRight; }

  get shift() { return this.shiftKey; }
  get shiftKey() { return this.evt.shiftKey; }
  get shiftRight() { return this.evt.shiftRight; }

  get alt() { return  this.altKey; }
  get altKey() { return this.evt.altKey; }
  get altRight() { return this.evt.altRight; }

  get keyCode() { return this.evt.keyCode; }

  get charCode() { return this.evt.charCode; }
  
  get enter() { return this.keyCode === 13; }
{'fraction_non_alphanumeric': 0.1493421052631579, 'fraction_numerical': 0.002631578947368421, 'mean_word_length': 3.358166189111748, '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': '315695', 'n_tokens_mistral': 537, 'n_tokens_neox': 543, 'n_words': 132}