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 | sPtagDesc |
Macros | |
#define | PSEUDO_TAG_PREFIX "!_" |
#define | PSEUDO_TAG_SEPARATOR "!" |
Typedefs | |
typedef enum ePtagType | ptagType |
typedef enum ePtagFlag | ptagFlag |
Enumerations | |
enum | ePtagType { PTAG_UNKNOWN = -1 , PTAG_JSON_OUTPUT_VERSION , PTAG_FILE_FORMAT , PTAG_FILE_SORTED , PTAG_PROGRAM_AUTHOR , PTAG_PROGRAM_NAME , PTAG_PROGRAM_URL , PTAG_PROGRAM_VERSION , PTAG_KIND_SEPARATOR , PTAG_KIND_DESCRIPTION , PTAG_FIELD_DESCRIPTION , PTAG_EXTRA_DESCRIPTION , PTAG_OUTPUT_MODE , PTAG_OUTPUT_FILESEP , PTAG_PATTERN_TRUNCATION , PTAG_PROC_CWD , PTAG_OUTPUT_EXCMD , PTAG_COUNT } |
enum | ePtagFlag { PTAGF_COMMON = 1 << 0 , PTAGF_PARSER = 1 << 1 } |
Functions | |
bool | makePtagIfEnabled (ptagType type, langType language, const void *data) |
ptagDesc * | getPtagDesc (ptagType type) |
ptagType | getPtagTypeForName (const char *name) |
void | printPtags (bool withListHeader, bool machinable, FILE *fp) |
bool | isPtagEnabled (ptagType type) |
bool | isPtagCommonInParsers (ptagType type) |
bool | isPtagParserSpecific (ptagType type) |
bool | enablePtag (ptagType type, bool state) |
enum ePtagType |
bool enablePtag | ( | ptagType | type, |
bool | state | ||
) |
Definition at line 225 of file ptag.c.
References Assert, sPtagDesc::enabled, PTAG_COUNT, and ptagDescs.
Referenced by processPseudoTags().
Definition at line 238 of file ptag.c.
References NULL, PTAG_COUNT, PTAG_UNKNOWN, and ptagDescs.
Referenced by isPtagCommonInParsers(), and isPtagParserSpecific().
ptagType getPtagTypeForName | ( | const char * | name | ) |
Definition at line 247 of file ptag.c.
References Assert, name, PTAG_COUNT, PTAG_UNKNOWN, and ptagDescs.
Referenced by processPseudoTags().
bool isPtagCommonInParsers | ( | ptagType | type | ) |
Definition at line 258 of file ptag.c.
References sPtagDesc::flags, getPtagDesc(), and PTAGF_COMMON.
Referenced by addCommonPseudoTags().
bool isPtagEnabled | ( | ptagType | type | ) |
Definition at line 214 of file ptag.c.
References Assert, sPtagDesc::enabled, PTAG_COUNT, and ptagDescs.
bool isPtagParserSpecific | ( | ptagType | type | ) |
Definition at line 264 of file ptag.c.
References sPtagDesc::flags, getPtagDesc(), and PTAGF_PARSER.
Referenced by addParserPseudoTags().
Definition at line 201 of file ptag.c.
References Assert, sPtagDesc::enabled, sPtagDesc::makeTag, PTAG_COUNT, and ptagDescs.
Referenced by addCommonPseudoTags(), and addParserPseudoTags().
void printPtags | ( | bool | withListHeader, |
bool | machinable, | ||
FILE * | fp | ||
) |
Definition at line 277 of file ptag.c.
References colprintLineAppendColumnCString(), colprintTableDelete(), colprintTableGetNewLine(), colprintTableNew(), colprintTablePrint(), colprintTableSort(), line, name, NULL, PTAG_COUNT, ptagCompare(), and ptagDescs.
Referenced by processListPseudoTagsOptions().