TokenCache
[<Class>]
type TokenCache =
new (capacity: int) : TokenCache
member Enabled: bool with get, set
member Hits: int64
member Misses: int64
member Reset () : unit
member Tokens (language': Language) (line: string) : Token array| Assembly | Ranvier.Plume |
| Attributes | [<Sealed>] |
The tokens of the lines of one language, kept by line text. A line that occurs again costs a lookup; when the cache holds
Constructors
new (capacity: int) : TokenCache