@zzzen/pyright-internal 1.2.0-dev.20260422 → 1.2.0-dev.20260503

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,6 +28,7 @@ export declare class Tokenizer {
28
28
  private _lineRanges;
29
29
  private _indentAmounts;
30
30
  private _typeIgnoreAll;
31
+ private _hasTokenBeforeIgnoreAll;
31
32
  private _typeIgnoreLines;
32
33
  private _pyrightIgnoreLines;
33
34
  private _comments;
@@ -42,7 +43,9 @@ export declare class Tokenizer {
42
43
  private _singleQuoteCount;
43
44
  private _doubleQuoteCount;
44
45
  private _useNotebookMode;
45
- private readonly _identifierInternedStrings;
46
+ private static readonly _identifierCacheSize;
47
+ private static readonly _identifierCacheMask;
48
+ private _identifierCache;
46
49
  tokenize(text: string, start?: number, length?: number, initialParenDepth?: number, useNotebookMode?: boolean): TokenizerOutput;
47
50
  static getOperatorInfo(operatorType: OperatorType): OperatorFlags;
48
51
  static isWhitespace(token: Token): boolean;
@@ -57,7 +60,8 @@ export declare class Tokenizer {
57
60
  private _readIndentationAfterNewLine;
58
61
  private _setIndent;
59
62
  private _tryIdentifier;
60
- private _internIdentifierString;
63
+ private _internIdentifier;
64
+ private _swallowNonAsciiIdentifierChars;
61
65
  private _isPossibleNumber;
62
66
  private _tryNumber;
63
67
  private _tryOperator;