⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gtags-parser.1

📁 代码检索工具GLOBAL源码。可用来浏览分析LINUX源码。
💻 1
字号:
.\" This file is generated automatically by convert.pl from gtags-parser/manual.in..TH GTAGS-PARSER 1 "May 2004" "GNU Project".SH NAMEgtags\-parser - print cross reference list for gtags..SH SYNOPSIS\fBgtags-parser\fP [-bdenrstvw] \fIfile\fP ....br.SH DESCRIPTION\fBGtags-parser\fP print cross reference list for \fBgtags\fP(1)from the specified C, C++, yacc, java, PHP and Assembly sourceto standard output.Each line of output contains the object name,the line number which it appears, the file in which it is defined,and a line image separated by white-space.It's same with the output of \fBctags\fP(1) with \fB-x\fP option..PPDepending upon the options provided to \fBgtags-parser\fP,objects will consist of function definitions, function referencesand other symbols..PPFiles whose names end in \'.c\' or \'.h\' are assumed to be Csource files and are searched for C style routine and macro definitions.Files whose names end in \'.c++\' \'.cc\' \'.cpp\'\'.cxx\' \'.hxx\' \'.hpp\' \'.C\' \'.H\' are assumed to be C++source files.Files whose names end in \'.y\' are assumed to be YACC source files.Files whose names end in \'.java\' are assumed to be Java source files.Files whose names end in \'.php\' \'.php3\' \'.phtml\' areassumed to be PHP source files.Files whose names end in \'.s\' or \'.S\' are assumed to beAssembler source files.Other files are searched for C style definitions..PPYacc files each have a special tag. \fByyparse\fP is the startof the second section of the yacc file..PPThis command is the default parser of GLOBAL source code tag system..SH OPTIONSThe following options are available:.TP\fB-b\fP, \fB--begin-block\fPForce level 1 block to begin when reach a left brace at the first column.(C only).TP\fB-d\fP, \fB--define\fPPick up not only function but also macro without argumentas a definition..TP\fB-e\fP, \fB--end-block\fPForce level 1 block to end when reach a right brace at the first column.(C only).TP\fB-n\fP, \fB--no-tags\fPSuppress output of tags. It is useful to use with \fB-w\fP option..TP\fB-r\fP, \fB--reference\fPLocate function references instead of function definitions.\'GTAGS\' is needed at the current directory.(C, C++ and Java source only)By default, locate function definitions..TP\fB-s\fP, \fB--symbol\fPCollect symbols other than functions.By default, locate function definitions..TP\fB-t\fP, \fB--typedef\fPPick up not only function but also typedef name and enum memberas a definition..TP\fB-v\fP, \fB--verbose\fPVerbose mode..TP\fB-w\fP, \fB--warning\fPPrint warning message..TP\fB--langmap\fP=mapLanguage mapping. Each comma-separated  map  consists ofthe language name, a colon, and a list of file extensions.Default mapping is 'c:.c.h,yacc:.y,asm:.s.S,java:.java,cpp:.c++.cc.cpp.cxx.hxx.hpp.C.H,php:.php.php3.phtml'..PPThe \fB-r\fP and \fB-s\fP options override each other;the last one specified determines the method used..SH DIAGNOSTICS\fBGtags-parser\fP exits with a non 0 value if an error occurred, 0 otherwise.Duplicate objects are not considered errors..SH "SEE ALSO"\fBglobal\fP(1),\fBgtags\fP(1),\fBhtags\fP(1)..PPGNU GLOBAL source code tag system.br(http://www.gnu.org/software/global/)..SH BUG\fBGtags-parser\fP relies on the input being well formed,and any syntactical errors will completely confuse it..PPAssembler support is far from complete.Probably valid only for FreeBSD and Linux kernel source..SH AUTHORTama Communications Corporation..SH HISTORYThe \fBgtags-parser\fP(gctags) command appeared in FreeBSD 2.2.2.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -