TextMateLib 1.0
Modern C++ implementation of the TextMate syntax highlighting engine
Loading...
Searching...
No Matches
Token Type Classification

Enumerations

enum class  tml::StandardTokenType { StandardTokenType::Other = 0 , StandardTokenType::Comment = 1 , StandardTokenType::String = 2 , StandardTokenType::RegEx = 3 }
 Standard TextMate token type for syntax classification. More...
 
enum class  tml::OptionalStandardTokenType {
  OptionalStandardTokenType::Other = 0 , OptionalStandardTokenType::Comment = 1 , OptionalStandardTokenType::String = 2 , OptionalStandardTokenType::RegEx = 3 ,
  OptionalStandardTokenType::NotSet = 8
}
 Standard token type with optional (unknown) state. More...
 

Detailed Description

Enumeration Type Documentation

◆ OptionalStandardTokenType

enum class tml::OptionalStandardTokenType
strong

Standard token type with optional (unknown) state.

Like StandardTokenType but includes a NotSet value for unclassified regions

Enumerator
Other 

Not a recognized standard type.

Comment 

Comment text.

String 

String literal.

RegEx 

Regular expression literal.

NotSet 

Type not determined or not applicable.

Definition at line 145 of file types.h.

◆ StandardTokenType

enum class tml::StandardTokenType
strong

Standard TextMate token type for syntax classification.

Enumerator
Other 

Not a recognized standard type.

Comment 

Comment text.

String 

String literal.

RegEx 

Regular expression literal.

Definition at line 136 of file types.h.