geany
1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
![]() ![]() |
Go to the source code of this file.
Classes | |
struct | keywordGroup |
Macros | |
#define | KEYWORD_NONE -1 |
Functions | |
void | addKeyword (const char *const string, langType language, int value) |
int | lookupKeyword (const char *const string, langType language) |
int | lookupCaseKeyword (const char *const string, langType language) |
void | addKeywordGroup (const struct keywordGroup *const groupdef, langType language) |
void addKeyword | ( | const char *const | string, |
langType | language, | ||
int | value | ||
) |
Definition at line 108 of file keyword.c.
References Assert, entry, getHashTable(), getHashTableEntry(), hashValue(), index, sHashEntry::language, newEntry(), sHashEntry::next, NULL, TableSize, and sHashEntry::value.
Referenced by addKeywordGroup(), buildKeywordHash(), initialize(), initializeDParser(), initializeValaParser(), and installKeywordTable().
void addKeywordGroup | ( | const struct keywordGroup *const | groupdef, |
langType | language | ||
) |
Definition at line 260 of file keyword.c.
References keywordGroup::addingUnlessExisting, addKeyword(), Assert, KEYWORD_NONE, keywordGroup::keywords, sHashEntry::language, lookupKeyword(), and keywordGroup::value.
int lookupCaseKeyword | ( | const char *const | string, |
langType | language | ||
) |
Definition at line 165 of file keyword.c.
References sHashEntry::language, and lookupKeywordFull().
Referenced by readToken(), and readTokenFull().
int lookupKeyword | ( | const char *const | string, |
langType | language | ||
) |
Definition at line 160 of file keyword.c.
References sHashEntry::language, and lookupKeywordFull().
Referenced by addKeywordGroup(), analyzeKeyword(), analyzeOperator(), analyzeToken(), findTag(), lex(), parseIdentifier(), readTag(), readToken(), readTokenFull(), and skipScriptContent().