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 | TMParserMapEntry |
struct | TMSubparserMapEntry |
struct | TMParserMap |
Macros | |
#define | map_CPP map_C |
#define | map_FORTRAN map_F77 |
#define | map_FERITE map_C |
#define | map_GLSL map_C |
#define | map_ZEPHIR map_PHP |
#define | MAP_ENTRY(lang) [TM_PARSER_##lang] = {map_##lang, G_N_ELEMENTS(map_##lang)} |
#define | SUBPARSER_MAP_ENTRY(lang, sublang, map) add_subparser(TM_PARSER_##lang, TM_PARSER_##sublang, map, G_N_ELEMENTS(map)) |
Functions | |
G_STATIC_ASSERT (G_N_ELEMENTS(parser_map)==TM_PARSER_COUNT) | |
TMTagType | tm_parser_get_tag_type (gchar kind, TMParserType lang) |
gchar | tm_parser_get_tag_kind (TMTagType type, TMParserType lang) |
static void | add_subparser (TMParserType lang, TMParserType sublang, TMSubparserMapEntry *map, guint map_size) |
static void | init_subparser_map (void) |
TMTagType | tm_parser_get_subparser_type (TMParserType lang, TMParserType sublang, TMTagType type) |
void | tm_parser_verify_type_mappings (void) |
const gchar * | tm_parser_context_separator (TMParserType lang) |
gboolean | tm_parser_has_full_context (TMParserType lang) |
gboolean | tm_parser_langs_compatible (TMParserType lang, TMParserType other) |
#define map_CPP map_C |
Definition at line 65 of file tm_parser.c.
#define MAP_ENTRY | ( | lang | ) | [TM_PARSER_##lang] = {map_##lang, G_N_ELEMENTS(map_##lang)} |
Definition at line 551 of file tm_parser.c.
#define map_FERITE map_C |
Definition at line 362 of file tm_parser.c.
#define map_FORTRAN map_F77 |
Definition at line 360 of file tm_parser.c.
#define map_GLSL map_C |
Definition at line 370 of file tm_parser.c.
#define map_ZEPHIR map_PHP |
Definition at line 523 of file tm_parser.c.
#define SUBPARSER_MAP_ENTRY | ( | lang, | |
sublang, | |||
map | |||
) | add_subparser(TM_PARSER_##lang, TM_PARSER_##sublang, map, G_N_ELEMENTS(map)) |
Definition at line 665 of file tm_parser.c.
|
static |
Definition at line 645 of file tm_parser.c.
References subparser_map.
G_STATIC_ASSERT | ( | G_N_ELEMENTS(parser_map) | = =TM_PARSER_COUNT | ) |
|
static |
Definition at line 667 of file tm_parser.c.
References subparser_HTML_javascript_map, and SUBPARSER_MAP_ENTRY.
Referenced by tm_parser_get_subparser_type().
const gchar * tm_parser_context_separator | ( | TMParserType | lang | ) |
Definition at line 764 of file tm_parser.c.
Referenced by autocomplete_scope(), find_scope_members_tags(), member_at_method_scope(), strip_type(), symbols_get_context_separator(), and update_parents_table().
TMTagType tm_parser_get_subparser_type | ( | TMParserType | lang, |
TMParserType | sublang, | ||
TMTagType | type | ||
) |
Definition at line 673 of file tm_parser.c.
References entry, init_subparser_map(), subparser_map, and tm_tag_undef_t.
Referenced by init_tag().
gchar tm_parser_get_tag_kind | ( | TMTagType | type, |
TMParserType | lang | ||
) |
Definition at line 629 of file tm_parser.c.
References TMParserMap::entries, entry, parser_map, and TMParserMap::size.
TMTagType tm_parser_get_tag_type | ( | gchar | kind, |
TMParserType | lang | ||
) |
Definition at line 613 of file tm_parser.c.
References TMParserMap::entries, entry, parser_map, TMParserMap::size, and tm_tag_undef_t.
Referenced by init_tag(), and init_tag_from_file_ctags().
gboolean tm_parser_has_full_context | ( | TMParserType | lang | ) |
Definition at line 794 of file tm_parser.c.
Referenced by update_parents_table().
gboolean tm_parser_langs_compatible | ( | TMParserType | lang, |
TMParserType | other | ||
) |
Definition at line 838 of file tm_parser.c.
Referenced by fill_find_tags_array(), fill_find_tags_array_prefix(), find_scope_members_tags(), and symbols_find_typenames_as_string().
void tm_parser_verify_type_mappings | ( | void | ) |
Definition at line 704 of file tm_parser.c.
References TMParserMap::entries, TMParserMapEntry::kind, parser_map, TMParserMap::size, tm_ctags_get_lang_count(), tm_ctags_get_lang_kinds(), and tm_ctags_get_lang_name().
Referenced by tm_create_workspace().
|
static |
Definition at line 481 of file tm_parser.c.
|
static |
Definition at line 421 of file tm_parser.c.
|
static |
Definition at line 389 of file tm_parser.c.
|
static |
Definition at line 470 of file tm_parser.c.
|
static |
Definition at line 145 of file tm_parser.c.
|
static |
Definition at line 127 of file tm_parser.c.
|
static |
Definition at line 48 of file tm_parser.c.
|
static |
Definition at line 443 of file tm_parser.c.
|
static |
Definition at line 153 of file tm_parser.c.
|
static |
Definition at line 287 of file tm_parser.c.
|
static |
Definition at line 202 of file tm_parser.c.
|
static |
Definition at line 226 of file tm_parser.c.
|
static |
Definition at line 242 of file tm_parser.c.
|
static |
Definition at line 185 of file tm_parser.c.
|
static |
Definition at line 194 of file tm_parser.c.
|
static |
Definition at line 341 of file tm_parser.c.
|
static |
Definition at line 303 of file tm_parser.c.
|
static |
Definition at line 502 of file tm_parser.c.
|
static |
Definition at line 280 of file tm_parser.c.
|
static |
Definition at line 313 of file tm_parser.c.
|
static |
Definition at line 330 of file tm_parser.c.
|
static |
Definition at line 67 of file tm_parser.c.
|
static |
Definition at line 269 of file tm_parser.c.
|
static |
Definition at line 513 of file tm_parser.c.
|
static |
Definition at line 531 of file tm_parser.c.
|
static |
Definition at line 118 of file tm_parser.c.
|
static |
Definition at line 265 of file tm_parser.c.
|
static |
Definition at line 77 of file tm_parser.c.
|
static |
Definition at line 411 of file tm_parser.c.
|
static |
Definition at line 365 of file tm_parser.c.
|
static |
Definition at line 404 of file tm_parser.c.
|
static |
Definition at line 454 of file tm_parser.c.
|
static |
Definition at line 82 of file tm_parser.c.
|
static |
Definition at line 87 of file tm_parser.c.
|
static |
Definition at line 96 of file tm_parser.c.
|
static |
Definition at line 526 of file tm_parser.c.
|
static |
Definition at line 107 of file tm_parser.c.
|
static |
Definition at line 437 of file tm_parser.c.
|
static |
Definition at line 322 of file tm_parser.c.
|
static |
Definition at line 208 of file tm_parser.c.
|
static |
Definition at line 487 of file tm_parser.c.
|
static |
Definition at line 222 of file tm_parser.c.
|
static |
Definition at line 158 of file tm_parser.c.
|
static |
Definition at line 215 of file tm_parser.c.
|
static |
Definition at line 416 of file tm_parser.c.
|
static |
Definition at line 373 of file tm_parser.c.
|
static |
Definition at line 426 of file tm_parser.c.
|
static |
Definition at line 247 of file tm_parser.c.
|
static |
Definition at line 554 of file tm_parser.c.
Referenced by tm_parser_get_tag_kind(), tm_parser_get_tag_type(), and tm_parser_verify_type_mappings().
|
static |
Definition at line 337 of file tm_parser.c.
Referenced by init_subparser_map().
|
static |
Definition at line 45 of file tm_parser.c.
Referenced by add_subparser(), and tm_parser_get_subparser_type().