Public Member Functions | |
string & | getSymbolString () |
unsigned char | getRawStringPrefix () |
unsigned char | getContinuationChar () |
bool | getSyntaxHighlight () |
bool | isIgnoreCase () |
int | isKeyword (const string &s) |
bool | load (const string &langDefPath, bool clear=true) |
bool | isVHDL () |
bool | allowNestedMLComments () |
bool | highlightingDisabled () |
bool | needsReload (const string &langDefPath) |
bool | enableReformatting () |
bool | allowExtEscSeq () |
unsigned int | getDelimPrefixClassID (const string &prefix) |
const KeywordMap & | getKeywords () const |
const vector< string > & | getKeywordClasses () const |
vector< RegexElement * > & | getRegexElements () |
The load() method will only read a new language definition if the given file path is not equal to the path of the current language definition.
string & highlight::LanguageDefinition::getSymbolString | ( | ) |
unsigned char highlight::LanguageDefinition::getRawStringPrefix | ( | ) |
unsigned char highlight::LanguageDefinition::getContinuationChar | ( | ) |
bool highlight::LanguageDefinition::getSyntaxHighlight | ( | ) |
bool highlight::LanguageDefinition::isIgnoreCase | ( | ) |
int highlight::LanguageDefinition::isKeyword | ( | const string & | s | ) |
s | String |
bool highlight::LanguageDefinition::load | ( | const string & | langDefPath, | |
bool | clear = true | |||
) |
Load new language definition
langDefPath | Path of language definition | |
clear | Test if former data should be deleted |
bool highlight::LanguageDefinition::isVHDL | ( | ) |
bool highlight::LanguageDefinition::allowNestedMLComments | ( | ) |
bool highlight::LanguageDefinition::highlightingDisabled | ( | ) |
bool highlight::LanguageDefinition::needsReload | ( | const string & | langDefPath | ) |
langDefPath | Path to language definition |
bool highlight::LanguageDefinition::enableReformatting | ( | ) |
bool highlight::LanguageDefinition::allowExtEscSeq | ( | ) |
unsigned int highlight::LanguageDefinition::getDelimPrefixClassID | ( | const string & | prefix | ) |
prefix | Keyword delimiter prefix |
const KeywordMap & highlight::LanguageDefinition::getKeywords | ( | ) | const |
const vector< string > & highlight::LanguageDefinition::getKeywordClasses | ( | ) | const |
vector<RegexElement*>& highlight::LanguageDefinition::getRegexElements | ( | ) | [inline] |