示例#1
0
文件: cxx_tag.c 项目: sohgett/ctags
	{ FALSE, 'h', "header",     "included header files", \
			.referenceOnly = TRUE,  ATTACH_ROLES(_langPrefix##HeaderRoles) \
	}, \
	{ FALSE, 'l', "local",      "local variables" }, \
	{ TRUE,  'm', "member",     _szMemberDescription }, \
	{ FALSE, 'p', "prototype",  "function prototypes" }, \
	{ TRUE,  's', "struct",     "structure names" }, \
	{ TRUE,  't', "typedef",    "typedefs" }, \
	{ TRUE,  'u', "union",      "union names" }, \
	{ TRUE,  'v', "variable",   "variable definitions" }, \
	{ FALSE, 'x', "externvar",  "external and forward variable declarations" }, \
	{ FALSE, 'z', "parameter",  "function parameters inside function definitions" }, \
	{ FALSE, 'L', "label",      "goto labels" }

static kindOption g_aCXXCKinds [] = {
	CXX_COMMON_KINDS(C,"struct, and union members")
};

static kindOption g_aCXXCPPKinds [] = {
	CXX_COMMON_KINDS(CXX,"class, struct, and union members"),
	{ TRUE,  'c', "class",      "classes" },
	{ TRUE,  'n', "namespace",  "namespaces" },
	{ FALSE, 'A', "alias",      "namespace aliases" },
	{ FALSE, 'N', "name",       "names imported via using scope::symbol" },
	{ FALSE, 'U', "using",      "using namespace statements",
			.referenceOnly = TRUE },
};

static const char * g_aCXXAccessStrings [] = {
	NULL,
	"public",
示例#2
0
文件: cxx_tag.c 项目: dkearns/ctags
	{ FALSE, 'l', "local",      "local variables", .syncWith = _syncWith },   \
	{ TRUE,  'm', "member",     _szMemberDescription, .syncWith = _syncWith },	\
	{ FALSE, 'p', "prototype",  "function prototypes", .syncWith = _syncWith },		\
	{ TRUE,  's', "struct",     "structure names", .syncWith = _syncWith },		\
	{ TRUE,  't', "typedef",    "typedefs", .syncWith = _syncWith },			\
	{ TRUE,  'u', "union",      "union names", .syncWith = _syncWith },			\
	{ TRUE,  'v', "variable",   "variable definitions", .syncWith = _syncWith },		\
	{ FALSE, 'x', "externvar",  "external and forward variable declarations", .syncWith = _syncWith }, \
	{ FALSE, 'z', "parameter",  "function parameters inside function definitions", .syncWith = _syncWith }, \
	{ FALSE, 'L', "label",      "goto labels", .syncWith = _syncWith }

static kindOption g_aCXXCKinds [] = {
	/* All other than LANG_AUTO are ignored.
	   LANG_IGNORE is specified as a just placeholder for the macro,
	   and is not needed. */
	CXX_COMMON_KINDS(C,"struct, and union members", LANG_IGNORE)
};

static kindOption g_aCXXCPPKinds [] = {
	CXX_COMMON_KINDS(CXX,"class, struct, and union members", LANG_AUTO),
	{ TRUE,  'c', "class",      "classes" },
	{ TRUE,  'n', "namespace",  "namespaces" },
	{ FALSE, 'A', "alias",      "namespace aliases" },
	{ FALSE, 'N', "name",       "names imported via using scope::symbol" },
	{ FALSE, 'U', "using",      "using namespace statements",
			.referenceOnly = TRUE },
};

static const char * g_aCXXAccessStrings [] = {
	NULL,
	"public",