clear method

void clear()

Clears all content and state

Implementation

void clear() {
  _tokenizer.tokenize(""); // Clear tokenizer cache
  _lastSuccessfulPosition = 0;
  _cachedDocument = null;
  // HLog.d(_tag, "清空解析器状态");
}