whole_func_string: function checkClassRange(from, to) {
    if (from.kind === 'control' || to.kind === 'control' || (!isNaN(from.codePoint) && !isNaN(to.codePoint) && from.codePoint > to.codePoint)) {
      throw new SyntaxError(`Range ${from.value}-${to.value} out of order in character class`);
    }
  }
func_code_string: function checkClassRange(from, to) {
    if (from.kind === 'control' || to.kind === 'control' || (!isNaN(from.codePoint) && !isNaN(to.codePoint) && from.codePoint > to.codePoint)) {
      throw new SyntaxError(`Range ${from.value}-${to.value} out of order in character class`);
    }
  }
func_documentation_string: Checks class range