<commit_before>package org.jetbrains.debugger.values;

public enum ValueType {
  OBJECT,
  NUMBER,
  STRING,
  FUNCTION,
  BOOLEAN,
  ERROR,

  ARRAY,
  REGEXP,
  DATE,
  NODE,

  /**
   * undefined type.
   */
  UNDEFINED,

  /**
   * null type. This is a bogus type that doesn't exist in JavaScript.
   */
  NULL;

  /**
   * Returns whether {@code type} corresponds to a JsObject. Note that while 'null' is an object
   * in JavaScript world, here for API consistency it has bogus type {@link #NULL} and is
   * not a {@link ObjectValue}
   */
  public boolean isObjectType() {
    return this == OBJECT || this == ARRAY || this == ERROR || this == FUNCTION || this == REGEXP || this == DATE || this == NODE;
  }
}<commit_msg>WEB-11399 Live Console: variables defined in the console are not autocompleted (global context)<commit_after>package org.jetbrains.debugger.values;

public enum ValueType {
  OBJECT,
  NUMBER,
  STRING,
  FUNCTION,
  BOOLEAN,

  ARRAY,
  REGEXP,
  DATE,
  NODE,

  /**
   * undefined type.
   */
  UNDEFINED,

  /**
   * null type. This is a bogus type that doesn't exist in JavaScript.
   */
  NULL;

  /**
   * Returns whether {@code type} corresponds to a JsObject. Note that while 'null' is an object
   * in JavaScript world, here for API consistency it has bogus type {@link #NULL} and is
   * not a {@link ObjectValue}
   */
  public boolean isObjectType() {
    return this == OBJECT || this == ARRAY || this == FUNCTION || this == REGEXP || this == DATE || this == NODE;
  }
}
{'fraction_non_alphanumeric': 0.11822985468956407, 'fraction_numerical': 0.0033025099075297227, 'mean_word_length': 2.9147286821705425, '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': '422500', 'n_tokens_mistral': 509, 'n_tokens_neox': 473, 'n_words': 175}