Sha256: e37f063c32ef4b79630b71967f6963771f26136b9f8b62d2a33e0aafbc48fa5f
Contents?: true
Size: 1.5 KB
Versions: 2
Compression:
Stored size: 1.5 KB
Contents
/* * * Copyright (c) 2015, Red Hat, Inc. * Copyright (c) 2015, Masatake YAMATO * * Author: Masatake YAMATO <yamato@redhat.com> * * This source code is released for free distribution under the terms of the * GNU General Public License version 2 or (at your option) any later version. * */ #ifndef CTAGS_MAIN_XTAG_H #define CTAGS_MAIN_XTAG_H #include "general.h" typedef enum eXtagType { /* extra tag content control */ XTAG_UNKNOWN = -1, XTAG_FILE_SCOPE, XTAG_FILE_NAMES, XTAG_PSEUDO_TAGS, XTAG_QUALIFIED_TAGS, XTAG_REFERENCE_TAGS, XTAG_TAGS_GENERATED_BY_SUB_PARSERS, XTAG_COUNT } xtagType; typedef struct sXtagDesc { bool enabled; unsigned char letter; const char* name; /* used in extra: field */ const char* description; /* displayed in --list-extra output */ /* If the value for "enabled" is given dynamically, use this field. "enabled" field of Pseudo extra tag depends on where the output stream is connected to. If it is connected to standared output, the tag is disabled by default. If it is connected to a regular file, the tag is enabled by default. */ bool (* isEnabled) (struct sXtagDesc *desc); } xtagDesc; extern xtagDesc* getXtagDesc (xtagType type); extern xtagType getXtagTypeForLetter (char letter); extern xtagType getXtagTypeForName (const char *name); extern bool isXtagEnabled (xtagType type); extern bool enableXtag (xtagType type, bool state); const char* getXtagName (xtagType type); extern void printXtags (void); #endif /* CTAGS_MAIN_FIELD_H */
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ctags.rb-1.1.4 | ext/vendor/ctags/main/xtag.h |
ctags.rb-1.1.3 | ext/vendor/ctags/main/xtag.h |