Enum syntect::parsing::ParseScopeError [] [src]

pub enum ParseScopeError {
    TooLong,
    TooManyAtoms,
}

Not all strings are valid scopes

Variants

Due to a limitation of the current optimized internal representation scopes can be at most 8 atoms long

The internal representation uses 16 bits per atom, so if all scopes ever used by the program have more than 216-2 atoms, things break

Trait Implementations

impl Debug for ParseScopeError
[src]

Formats the value using the given formatter.