Struct syntect::parsing::ScopeRepository
source · pub struct ScopeRepository { /* private fields */ }
Expand description
The structure used to keep track of the mapping between scope atom numbers and their string names
It is only exposed in case you want to lock SCOPE_REPO
and then allocate a bunch of scopes
at once without thrashing the lock. In general, you should just use Scope::new()
.
Only Scope
s created by the same repository have valid comparison results.