Enum syntect::parsing::ParseScopeError [−][src]
pub enum ParseScopeError {
TooLong,
TooManyAtoms,
}
Expand description
Not all strings are valid scopes
Variants
TooLong
Due to a limitation of the current optimized internal representation scopes can be at most 8 atoms long
TooManyAtoms
The internal representation uses 16 bits per atom, so if all scopes ever used by the program have more than 2^16-2 atoms, things break
Trait Implementations
Performs the conversion.