Struct syntect::parsing::ScopeRepository [] [src]

pub struct ScopeRepository { /* fields omitted */ }

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 whole bunch of scopes at once without thrashing the lock. It is recommended you just use Scope::new()

Only Scopes created by the same repository have valid comparison results.

Methods

impl ScopeRepository
[src]

Return the string for an atom number returned by Scope#atom_at

Trait Implementations

impl Debug for ScopeRepository
[src]

Formats the value using the given formatter.