Sha256: 72036687cb5a57046e7a509bfcaf037631a690dca52d4bfab595b991ea476073
Contents?: true
Size: 1.57 KB
Versions: 1
Compression:
Stored size: 1.57 KB
Contents
/* * * Copyright (c) 2016, Red Hat, Inc. * Copyright (c) 2016, 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_PTAG_H #define CTAGS_MAIN_PTAG_H #include "general.h" #include "types.h" #define PSEUDO_TAG_PREFIX "!_" #define PSEUDO_TAG_SEPARATOR "!" typedef enum ePtagType { /* pseudo tag content control */ PTAG_UNKNOWN = -1, /* Only --output-format=json use this ptag. Applications of the output may expect this comes first in the output. */ PTAG_JSON_OUTPUT_VERSION, PTAG_FILE_FORMAT, PTAG_FILE_SORTED, PTAG_PROGRAM_AUTHOR, PTAG_PROGRAM_NAME, PTAG_PROGRAM_URL, PTAG_PROGRAM_VERSION, #ifdef HAVE_ICONV PTAG_FILE_ENCODING, #endif PTAG_KIND_SEPARATOR, PTAG_KIND_DESCRIPTION, PTAG_COUNT } ptagType; struct sPtagDesc { bool enabled; const char* name; const char* description; /* displayed in --list-pseudo-tags output */ bool (* makeTag) (ptagDesc *, void *); bool commonInParsers; }; struct ptagXcmdData { const char *fileName; const char *pattern; const char *language; }; extern bool makePtagIfEnabled (ptagType type, void *data); extern ptagDesc* getPtagDesc (ptagType type); extern ptagType getPtagTypeForName (const char *name); extern void printPtag (ptagType type); extern bool isPtagEnabled (ptagType type); extern bool isPtagCommonInParsers (ptagType type); extern bool enablePtag (ptagType type, bool state); #endif /* CTAGS_MAIN_FIELD_H */
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ctags.rb-1.1.3 | ext/vendor/ctags/main/ptag.h |