diff --git a/Tmain/readtags-canonicalize-input-names.d/stdout-expected.txt b/Tmain/readtags-canonicalize-input-names.d/stdout-expected.txt index d744c72963..1f30126beb 100644 --- a/Tmain/readtags-canonicalize-input-names.d/stdout-expected.txt +++ b/Tmain/readtags-canonicalize-input-names.d/stdout-expected.txt @@ -73,31 +73,31 @@ w_fn /abc/w.c # drive-letter0.tags --canonicalize-input -l # drive-letter1.tags -C -l # good-ptags.tags -C -D -!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ -!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ -!_TAG_OUTPUT_EXCMD mixed /number, pattern, mixed, or combineV2/ -!_TAG_OUTPUT_FILESEP slash /slash or backslash/ -!_TAG_OUTPUT_MODE u-ctags /u-ctags or e-ctags/ -!_TAG_PATTERN_LENGTH_LIMIT 96 /0 for no limit/ -!_TAG_PROC_CWD /tmp // -!_TAG_PROGRAM_AUTHOR Universal Ctags Team // -!_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/ -!_TAG_PROGRAM_URL https://ctags.io/ /official site/ -!_TAG_PROGRAM_VERSION 5.9.0 /e08db39a3/ -!_TAG_PROC_DUMMY /../../tmp // +!_TAG_FILE_FORMAT 2 +!_TAG_FILE_SORTED 1 +!_TAG_OUTPUT_EXCMD mixed +!_TAG_OUTPUT_FILESEP slash +!_TAG_OUTPUT_MODE u-ctags +!_TAG_PATTERN_LENGTH_LIMIT 96 +!_TAG_PROC_CWD /tmp +!_TAG_PROGRAM_AUTHOR Universal Ctags Team +!_TAG_PROGRAM_NAME Universal Ctags +!_TAG_PROGRAM_URL https://ctags.io/ +!_TAG_PROGRAM_VERSION 5.9.0 +!_TAG_PROC_DUMMY /../../tmp # good-ptags.tags -C --list-pseudo-tags -!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ -!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ -!_TAG_OUTPUT_EXCMD mixed /number, pattern, mixed, or combineV2/ -!_TAG_OUTPUT_FILESEP slash /slash or backslash/ -!_TAG_OUTPUT_MODE u-ctags /u-ctags or e-ctags/ -!_TAG_PATTERN_LENGTH_LIMIT 96 /0 for no limit/ -!_TAG_PROC_CWD /tmp // -!_TAG_PROGRAM_AUTHOR Universal Ctags Team // -!_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/ -!_TAG_PROGRAM_URL https://ctags.io/ /official site/ -!_TAG_PROGRAM_VERSION 5.9.0 /e08db39a3/ -!_TAG_PROC_DUMMY /../../tmp // +!_TAG_FILE_FORMAT 2 +!_TAG_FILE_SORTED 1 +!_TAG_OUTPUT_EXCMD mixed +!_TAG_OUTPUT_FILESEP slash +!_TAG_OUTPUT_MODE u-ctags +!_TAG_PATTERN_LENGTH_LIMIT 96 +!_TAG_PROC_CWD /tmp +!_TAG_PROGRAM_AUTHOR Universal Ctags Team +!_TAG_PROGRAM_NAME Universal Ctags +!_TAG_PROGRAM_URL https://ctags.io/ +!_TAG_PROGRAM_VERSION 5.9.0 +!_TAG_PROC_DUMMY /../../tmp # good0.tags -A -l a_fn /tmp/abc/xyz/a.c b_fn /tmp/abc/b.c @@ -173,28 +173,28 @@ w_fn /abc/w.c # drive-letter0.tags --absolute-input -l # drive-letter1.tags -A -l # good-ptags.tags -A -D -!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ -!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ -!_TAG_OUTPUT_EXCMD mixed /number, pattern, mixed, or combineV2/ -!_TAG_OUTPUT_FILESEP slash /slash or backslash/ -!_TAG_OUTPUT_MODE u-ctags /u-ctags or e-ctags/ -!_TAG_PATTERN_LENGTH_LIMIT 96 /0 for no limit/ -!_TAG_PROC_CWD /tmp // -!_TAG_PROGRAM_AUTHOR Universal Ctags Team // -!_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/ -!_TAG_PROGRAM_URL https://ctags.io/ /official site/ -!_TAG_PROGRAM_VERSION 5.9.0 /e08db39a3/ -!_TAG_PROC_DUMMY /../../tmp // +!_TAG_FILE_FORMAT 2 +!_TAG_FILE_SORTED 1 +!_TAG_OUTPUT_EXCMD mixed +!_TAG_OUTPUT_FILESEP slash +!_TAG_OUTPUT_MODE u-ctags +!_TAG_PATTERN_LENGTH_LIMIT 96 +!_TAG_PROC_CWD /tmp +!_TAG_PROGRAM_AUTHOR Universal Ctags Team +!_TAG_PROGRAM_NAME Universal Ctags +!_TAG_PROGRAM_URL https://ctags.io/ +!_TAG_PROGRAM_VERSION 5.9.0 +!_TAG_PROC_DUMMY /../../tmp # good-ptags.tags -A --list-pseudo-tags -!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ -!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ -!_TAG_OUTPUT_EXCMD mixed /number, pattern, mixed, or combineV2/ -!_TAG_OUTPUT_FILESEP slash /slash or backslash/ -!_TAG_OUTPUT_MODE u-ctags /u-ctags or e-ctags/ -!_TAG_PATTERN_LENGTH_LIMIT 96 /0 for no limit/ -!_TAG_PROC_CWD /tmp // -!_TAG_PROGRAM_AUTHOR Universal Ctags Team // -!_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/ -!_TAG_PROGRAM_URL https://ctags.io/ /official site/ -!_TAG_PROGRAM_VERSION 5.9.0 /e08db39a3/ -!_TAG_PROC_DUMMY /../../tmp // +!_TAG_FILE_FORMAT 2 +!_TAG_FILE_SORTED 1 +!_TAG_OUTPUT_EXCMD mixed +!_TAG_OUTPUT_FILESEP slash +!_TAG_OUTPUT_MODE u-ctags +!_TAG_PATTERN_LENGTH_LIMIT 96 +!_TAG_PROC_CWD /tmp +!_TAG_PROGRAM_AUTHOR Universal Ctags Team +!_TAG_PROGRAM_NAME Universal Ctags +!_TAG_PROGRAM_URL https://ctags.io/ +!_TAG_PROGRAM_VERSION 5.9.0 +!_TAG_PROC_DUMMY /../../tmp diff --git a/Tmain/readtags-list-pseudo-tags.d/run.sh b/Tmain/readtags-list-pseudo-tags.d/run.sh index fea0d61211..a9ce67a002 100644 --- a/Tmain/readtags-list-pseudo-tags.d/run.sh +++ b/Tmain/readtags-list-pseudo-tags.d/run.sh @@ -11,8 +11,20 @@ V= skip_if_no_readtags "$READTAGS" -echo '# SORT=NO' +echo '# SORT=NO (-D)' ${V} ${READTAGS} -t ./ptag-sort-no.tags -D -echo '# SORT=YES' +echo '# SORT=NO (-P)' +${V} ${READTAGS} -t ./ptag-sort-no.tags -P no-such-tags + +echo '# SORT=YES (-D)' ${V} ${READTAGS} -t ./ptag-sort-yes.tags -D + +echo '# SORT=YES (-P)' +${V} ${READTAGS} -t ./ptag-sort-yes.tags -P no-such-tags + +echo '# -D + FILTER (-D)' +${V} ${READTAGS} -t ./ptag-sort-yes.tags -Q '(#/MA/i $name)' -D + +echo '# -P -l + FILTER (-D)' +${V} ${READTAGS} -t ./ptag-sort-yes.tags -Q '(#/MA/i $name)' -P -l diff --git a/Tmain/readtags-list-pseudo-tags.d/stdout-expected.txt b/Tmain/readtags-list-pseudo-tags.d/stdout-expected.txt index 36156d62e5..d8f6b6fe20 100644 --- a/Tmain/readtags-list-pseudo-tags.d/stdout-expected.txt +++ b/Tmain/readtags-list-pseudo-tags.d/stdout-expected.txt @@ -1,4 +1,4 @@ -# SORT=NO +# SORT=NO (-D) !_JSON_OUTPUT_VERSION 0.0 /in development/ !_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ !_TAG_FILE_SORTED 0 /0=unsorted, 1=sorted, 2=foldcase/ @@ -41,7 +41,154 @@ !_TAG_KIND_DESCRIPTION!EmacsLisp G,group /customization groups/ !_TAG_KIND_DESCRIPTION!EmacsLisp H,face /customizable faces/ !_TAG_KIND_DESCRIPTION!EmacsLisp T,theme /custom themes/ -# SORT=YES +# SORT=NO (-P) +!_JSON_OUTPUT_VERSION 0.0 /in development/ +!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ +!_TAG_FILE_SORTED 0 /0=unsorted, 1=sorted, 2=foldcase/ +!_TAG_PROGRAM_AUTHOR Universal Ctags Team // +!_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/ +!_TAG_PROGRAM_URL https://ctags.io/ /official site/ +!_TAG_PROGRAM_VERSION 0.0.0 /9b73623f/ +!_TAG_OUTPUT_MODE u-ctags /u-ctags or e-ctags/ +!_TAG_OUTPUT_FILESEP slash /slash or backslash/ +!_TAG_PATTERN_LENGTH_LIMIT 96 /0 for no limit/ +!_TAG_KIND_DESCRIPTION!C d,macro /macro definitions/ +!_TAG_KIND_DESCRIPTION!C e,enumerator /enumerators (values inside an enumeration)/ +!_TAG_KIND_DESCRIPTION!C f,function /function definitions/ +!_TAG_KIND_DESCRIPTION!C g,enum /enumeration names/ +!_TAG_KIND_DESCRIPTION!C h,header /included header files/ +!_TAG_KIND_DESCRIPTION!C l,local /local variables/ +!_TAG_KIND_DESCRIPTION!C m,member /struct, and union members/ +!_TAG_KIND_DESCRIPTION!C p,prototype /function prototypes/ +!_TAG_KIND_DESCRIPTION!C s,struct /structure names/ +!_TAG_KIND_DESCRIPTION!C t,typedef /typedefs/ +!_TAG_KIND_DESCRIPTION!C u,union /union names/ +!_TAG_KIND_DESCRIPTION!C v,variable /variable definitions/ +!_TAG_KIND_DESCRIPTION!C x,externvar /external and forward variable declarations/ +!_TAG_KIND_DESCRIPTION!C z,parameter /function parameters inside function definitions/ +!_TAG_KIND_DESCRIPTION!C L,label /goto labels/ +!_TAG_KIND_DESCRIPTION!C D,macroparam /parameters inside macro definitions/ +!_TAG_KIND_DESCRIPTION!EmacsLisp u,unknown /unknown type of definitions/ +!_TAG_KIND_DESCRIPTION!EmacsLisp f,function /functions/ +!_TAG_KIND_DESCRIPTION!EmacsLisp v,variable /variables/ +!_TAG_KIND_DESCRIPTION!EmacsLisp c,const /constants/ +!_TAG_KIND_DESCRIPTION!EmacsLisp m,macro /macros/ +!_TAG_KIND_DESCRIPTION!EmacsLisp a,alias /aliases for functions/ +!_TAG_KIND_DESCRIPTION!EmacsLisp V,varalias /aliases for variables/ +!_TAG_KIND_DESCRIPTION!EmacsLisp s,subst /inline function/ +!_TAG_KIND_DESCRIPTION!EmacsLisp i,inline /inline function/ +!_TAG_KIND_DESCRIPTION!EmacsLisp e,error /errors/ +!_TAG_KIND_DESCRIPTION!EmacsLisp M,minorMode /minor modes/ +!_TAG_KIND_DESCRIPTION!EmacsLisp D,derivedMode /derived major mode/ +!_TAG_KIND_DESCRIPTION!EmacsLisp C,custom /customizable variables/ +!_TAG_KIND_DESCRIPTION!EmacsLisp G,group /customization groups/ +!_TAG_KIND_DESCRIPTION!EmacsLisp H,face /customizable faces/ +!_TAG_KIND_DESCRIPTION!EmacsLisp T,theme /custom themes/ +# SORT=YES (-D) +!_JSON_OUTPUT_VERSION 0.0 /in development/ +!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ +!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ +!_TAG_KIND_DESCRIPTION!C D,macroparam /parameters inside macro definitions/ +!_TAG_KIND_DESCRIPTION!C L,label /goto labels/ +!_TAG_KIND_DESCRIPTION!C d,macro /macro definitions/ +!_TAG_KIND_DESCRIPTION!C e,enumerator /enumerators (values inside an enumeration)/ +!_TAG_KIND_DESCRIPTION!C f,function /function definitions/ +!_TAG_KIND_DESCRIPTION!C g,enum /enumeration names/ +!_TAG_KIND_DESCRIPTION!C h,header /included header files/ +!_TAG_KIND_DESCRIPTION!C l,local /local variables/ +!_TAG_KIND_DESCRIPTION!C m,member /struct, and union members/ +!_TAG_KIND_DESCRIPTION!C p,prototype /function prototypes/ +!_TAG_KIND_DESCRIPTION!C s,struct /structure names/ +!_TAG_KIND_DESCRIPTION!C t,typedef /typedefs/ +!_TAG_KIND_DESCRIPTION!C u,union /union names/ +!_TAG_KIND_DESCRIPTION!C v,variable /variable definitions/ +!_TAG_KIND_DESCRIPTION!C x,externvar /external and forward variable declarations/ +!_TAG_KIND_DESCRIPTION!C z,parameter /function parameters inside function definitions/ +!_TAG_KIND_DESCRIPTION!EmacsLisp C,custom /customizable variables/ +!_TAG_KIND_DESCRIPTION!EmacsLisp D,derivedMode /derived major mode/ +!_TAG_KIND_DESCRIPTION!EmacsLisp G,group /customization groups/ +!_TAG_KIND_DESCRIPTION!EmacsLisp H,face /customizable faces/ +!_TAG_KIND_DESCRIPTION!EmacsLisp M,minorMode /minor modes/ +!_TAG_KIND_DESCRIPTION!EmacsLisp T,theme /custom themes/ +!_TAG_KIND_DESCRIPTION!EmacsLisp V,varalias /aliases for variables/ +!_TAG_KIND_DESCRIPTION!EmacsLisp a,alias /aliases for functions/ +!_TAG_KIND_DESCRIPTION!EmacsLisp c,const /constants/ +!_TAG_KIND_DESCRIPTION!EmacsLisp e,error /errors/ +!_TAG_KIND_DESCRIPTION!EmacsLisp f,function /functions/ +!_TAG_KIND_DESCRIPTION!EmacsLisp i,inline /inline function/ +!_TAG_KIND_DESCRIPTION!EmacsLisp m,macro /macros/ +!_TAG_KIND_DESCRIPTION!EmacsLisp s,subst /inline function/ +!_TAG_KIND_DESCRIPTION!EmacsLisp u,unknown /unknown type of definitions/ +!_TAG_KIND_DESCRIPTION!EmacsLisp v,variable /variables/ +!_TAG_OUTPUT_FILESEP slash /slash or backslash/ +!_TAG_OUTPUT_MODE u-ctags /u-ctags or e-ctags/ +!_TAG_PATTERN_LENGTH_LIMIT 96 /0 for no limit/ +!_TAG_PROGRAM_AUTHOR Universal Ctags Team // +!_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/ +!_TAG_PROGRAM_URL https://ctags.io/ /official site/ +!_TAG_PROGRAM_VERSION 0.0.0 /9b73623f/ +# SORT=YES (-P) +!_JSON_OUTPUT_VERSION 0.0 /in development/ +!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ +!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ +!_TAG_KIND_DESCRIPTION!C D,macroparam /parameters inside macro definitions/ +!_TAG_KIND_DESCRIPTION!C L,label /goto labels/ +!_TAG_KIND_DESCRIPTION!C d,macro /macro definitions/ +!_TAG_KIND_DESCRIPTION!C e,enumerator /enumerators (values inside an enumeration)/ +!_TAG_KIND_DESCRIPTION!C f,function /function definitions/ +!_TAG_KIND_DESCRIPTION!C g,enum /enumeration names/ +!_TAG_KIND_DESCRIPTION!C h,header /included header files/ +!_TAG_KIND_DESCRIPTION!C l,local /local variables/ +!_TAG_KIND_DESCRIPTION!C m,member /struct, and union members/ +!_TAG_KIND_DESCRIPTION!C p,prototype /function prototypes/ +!_TAG_KIND_DESCRIPTION!C s,struct /structure names/ +!_TAG_KIND_DESCRIPTION!C t,typedef /typedefs/ +!_TAG_KIND_DESCRIPTION!C u,union /union names/ +!_TAG_KIND_DESCRIPTION!C v,variable /variable definitions/ +!_TAG_KIND_DESCRIPTION!C x,externvar /external and forward variable declarations/ +!_TAG_KIND_DESCRIPTION!C z,parameter /function parameters inside function definitions/ +!_TAG_KIND_DESCRIPTION!EmacsLisp C,custom /customizable variables/ +!_TAG_KIND_DESCRIPTION!EmacsLisp D,derivedMode /derived major mode/ +!_TAG_KIND_DESCRIPTION!EmacsLisp G,group /customization groups/ +!_TAG_KIND_DESCRIPTION!EmacsLisp H,face /customizable faces/ +!_TAG_KIND_DESCRIPTION!EmacsLisp M,minorMode /minor modes/ +!_TAG_KIND_DESCRIPTION!EmacsLisp T,theme /custom themes/ +!_TAG_KIND_DESCRIPTION!EmacsLisp V,varalias /aliases for variables/ +!_TAG_KIND_DESCRIPTION!EmacsLisp a,alias /aliases for functions/ +!_TAG_KIND_DESCRIPTION!EmacsLisp c,const /constants/ +!_TAG_KIND_DESCRIPTION!EmacsLisp e,error /errors/ +!_TAG_KIND_DESCRIPTION!EmacsLisp f,function /functions/ +!_TAG_KIND_DESCRIPTION!EmacsLisp i,inline /inline function/ +!_TAG_KIND_DESCRIPTION!EmacsLisp m,macro /macros/ +!_TAG_KIND_DESCRIPTION!EmacsLisp s,subst /inline function/ +!_TAG_KIND_DESCRIPTION!EmacsLisp u,unknown /unknown type of definitions/ +!_TAG_KIND_DESCRIPTION!EmacsLisp v,variable /variables/ +!_TAG_OUTPUT_FILESEP slash /slash or backslash/ +!_TAG_OUTPUT_MODE u-ctags /u-ctags or e-ctags/ +!_TAG_PATTERN_LENGTH_LIMIT 96 /0 for no limit/ +!_TAG_PROGRAM_AUTHOR Universal Ctags Team // +!_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/ +!_TAG_PROGRAM_URL https://ctags.io/ /official site/ +!_TAG_PROGRAM_VERSION 0.0.0 /9b73623f/ +# -D + FILTER (-D) +!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ +!_TAG_KIND_DESCRIPTION!EmacsLisp C,custom /customizable variables/ +!_TAG_KIND_DESCRIPTION!EmacsLisp D,derivedMode /derived major mode/ +!_TAG_KIND_DESCRIPTION!EmacsLisp G,group /customization groups/ +!_TAG_KIND_DESCRIPTION!EmacsLisp H,face /customizable faces/ +!_TAG_KIND_DESCRIPTION!EmacsLisp M,minorMode /minor modes/ +!_TAG_KIND_DESCRIPTION!EmacsLisp T,theme /custom themes/ +!_TAG_KIND_DESCRIPTION!EmacsLisp V,varalias /aliases for variables/ +!_TAG_KIND_DESCRIPTION!EmacsLisp a,alias /aliases for functions/ +!_TAG_KIND_DESCRIPTION!EmacsLisp c,const /constants/ +!_TAG_KIND_DESCRIPTION!EmacsLisp e,error /errors/ +!_TAG_KIND_DESCRIPTION!EmacsLisp f,function /functions/ +!_TAG_KIND_DESCRIPTION!EmacsLisp i,inline /inline function/ +!_TAG_KIND_DESCRIPTION!EmacsLisp m,macro /macros/ +!_TAG_KIND_DESCRIPTION!EmacsLisp s,subst /inline function/ +!_TAG_KIND_DESCRIPTION!EmacsLisp u,unknown /unknown type of definitions/ +!_TAG_KIND_DESCRIPTION!EmacsLisp v,variable /variables/ +# -P -l + FILTER (-D) !_JSON_OUTPUT_VERSION 0.0 /in development/ !_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ !_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ @@ -84,3 +231,4 @@ !_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/ !_TAG_PROGRAM_URL https://ctags.io/ /official site/ !_TAG_PROGRAM_VERSION 0.0.0 /9b73623f/ +main input.c /^int main (void) { return 0; }$/ diff --git a/Tmain/readtags-ptags-dls.d/exit-expected.txt b/Tmain/readtags-ptags-dls.d/exit-expected.txt new file mode 100644 index 0000000000..573541ac97 --- /dev/null +++ b/Tmain/readtags-ptags-dls.d/exit-expected.txt @@ -0,0 +1 @@ +0 diff --git a/Tmain/readtags-ptags-dls.d/input.tags b/Tmain/readtags-ptags-dls.d/input.tags new file mode 100644 index 0000000000..5e7810ffef --- /dev/null +++ b/Tmain/readtags-ptags-dls.d/input.tags @@ -0,0 +1,303 @@ +!_TAG_EXTRA_DESCRIPTION anonymous /Include tags for non-named objects like lambda/ +!_TAG_EXTRA_DESCRIPTION fileScope /Include tags of file scope/ +!_TAG_EXTRA_DESCRIPTION pseudo /Include pseudo tags/ +!_TAG_EXTRA_DESCRIPTION subparser /Include tags generated by subparsers/ +!_TAG_FIELD_DESCRIPTION epoch /the last modified time of the input file (only for F\/file kind tag)/ +!_TAG_FIELD_DESCRIPTION file /File-restricted scoping/ +!_TAG_FIELD_DESCRIPTION input /input file/ +!_TAG_FIELD_DESCRIPTION name /tag name/ +!_TAG_FIELD_DESCRIPTION pattern /pattern/ +!_TAG_FIELD_DESCRIPTION typeref /Type and name of a variable or typedef/ +!_TAG_FIELD_DESCRIPTION!Asm properties /properties (req, vararg for parameters)/ +!_TAG_FIELD_DESCRIPTION!C++ name /aliased names/ +!_TAG_FIELD_DESCRIPTION!Go package /the real package specified by the package name/ +!_TAG_FIELD_DESCRIPTION!Go packageName /the name for referring the package/ +!_TAG_FIELD_DESCRIPTION!Python nameref /the original name for the tag/ +!_TAG_FIELD_DESCRIPTION!R constructor /function used for making value assigned to the nameattr tag/ +!_TAG_FIELD_DESCRIPTION!Ruby mixin /how the class or module is mixed in (mixin:HOW:MODULE)/ +!_TAG_FIELD_DESCRIPTION!XML uri /uri associated with name prefix/ +!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ +!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ +!_TAG_KIND_DESCRIPTION!Asciidoc S,subsection /level 2 sections/ +!_TAG_KIND_DESCRIPTION!Asciidoc T,l4subsection /level 4 sections/ +!_TAG_KIND_DESCRIPTION!Asciidoc a,anchor /anchors/ +!_TAG_KIND_DESCRIPTION!Asciidoc c,chapter /chapters/ +!_TAG_KIND_DESCRIPTION!Asciidoc s,section /sections/ +!_TAG_KIND_DESCRIPTION!Asciidoc t,subsubsection /level 3 sections/ +!_TAG_KIND_DESCRIPTION!Asciidoc u,l5subsection /level 5 sections/ +!_TAG_KIND_DESCRIPTION!Asm d,define /defines/ +!_TAG_KIND_DESCRIPTION!Asm l,label /labels/ +!_TAG_KIND_DESCRIPTION!Asm m,macro /macros/ +!_TAG_KIND_DESCRIPTION!Asm t,type /types (structs and records)/ +!_TAG_KIND_DESCRIPTION!Awk f,function /functions/ +!_TAG_KIND_DESCRIPTION!Bats S,script /scripts/ +!_TAG_KIND_DESCRIPTION!Bats t,test /test cases/ +!_TAG_KIND_DESCRIPTION!C d,macro /macro definitions/ +!_TAG_KIND_DESCRIPTION!C e,enumerator /enumerators (values inside an enumeration)/ +!_TAG_KIND_DESCRIPTION!C f,function /function definitions/ +!_TAG_KIND_DESCRIPTION!C g,enum /enumeration names/ +!_TAG_KIND_DESCRIPTION!C h,header /included header files/ +!_TAG_KIND_DESCRIPTION!C m,member /struct, and union members/ +!_TAG_KIND_DESCRIPTION!C s,struct /structure names/ +!_TAG_KIND_DESCRIPTION!C t,typedef /typedefs/ +!_TAG_KIND_DESCRIPTION!C u,union /union names/ +!_TAG_KIND_DESCRIPTION!C v,variable /variable definitions/ +!_TAG_KIND_DESCRIPTION!C++ M,module /modules/ +!_TAG_KIND_DESCRIPTION!C++ P,partition /partitions/ +!_TAG_KIND_DESCRIPTION!C++ c,class /classes/ +!_TAG_KIND_DESCRIPTION!C++ d,macro /macro definitions/ +!_TAG_KIND_DESCRIPTION!C++ e,enumerator /enumerators (values inside an enumeration)/ +!_TAG_KIND_DESCRIPTION!C++ f,function /function definitions/ +!_TAG_KIND_DESCRIPTION!C++ g,enum /enumeration names/ +!_TAG_KIND_DESCRIPTION!C++ h,header /included header files/ +!_TAG_KIND_DESCRIPTION!C++ m,member /class, struct, and union members/ +!_TAG_KIND_DESCRIPTION!C++ n,namespace /namespaces/ +!_TAG_KIND_DESCRIPTION!C++ s,struct /structure names/ +!_TAG_KIND_DESCRIPTION!C++ t,typedef /typedefs/ +!_TAG_KIND_DESCRIPTION!C++ u,union /union names/ +!_TAG_KIND_DESCRIPTION!C++ v,variable /variable definitions/ +!_TAG_KIND_DESCRIPTION!CSS c,class /classes/ +!_TAG_KIND_DESCRIPTION!CSS i,id /identities/ +!_TAG_KIND_DESCRIPTION!CSS s,selector /selectors/ +!_TAG_KIND_DESCRIPTION!DTD E,entity /entities/ +!_TAG_KIND_DESCRIPTION!DTD a,attribute /attributes/ +!_TAG_KIND_DESCRIPTION!DTD e,element /elements/ +!_TAG_KIND_DESCRIPTION!DTD n,notation /notations/ +!_TAG_KIND_DESCRIPTION!DTD p,parameterEntity /parameter entities/ +!_TAG_KIND_DESCRIPTION!Diff d,deletedFile /deleted files/ +!_TAG_KIND_DESCRIPTION!Diff h,hunk /hunks/ +!_TAG_KIND_DESCRIPTION!Diff m,modifiedFile /modified files/ +!_TAG_KIND_DESCRIPTION!Diff n,newFile /newly created files/ +!_TAG_KIND_DESCRIPTION!DosBatch l,label /labels/ +!_TAG_KIND_DESCRIPTION!DosBatch v,variable /variables/ +!_TAG_KIND_DESCRIPTION!Go M,anonMember /struct anonymous members/ +!_TAG_KIND_DESCRIPTION!Go P,packageName /name for specifying imported package/ +!_TAG_KIND_DESCRIPTION!Go Y,unknown /unknown/ +!_TAG_KIND_DESCRIPTION!Go a,talias /type aliases/ +!_TAG_KIND_DESCRIPTION!Go c,const /constants/ +!_TAG_KIND_DESCRIPTION!Go f,func /functions/ +!_TAG_KIND_DESCRIPTION!Go i,interface /interfaces/ +!_TAG_KIND_DESCRIPTION!Go m,member /struct members/ +!_TAG_KIND_DESCRIPTION!Go n,methodSpec /interface method specification/ +!_TAG_KIND_DESCRIPTION!Go p,package /packages/ +!_TAG_KIND_DESCRIPTION!Go s,struct /structs/ +!_TAG_KIND_DESCRIPTION!Go t,type /types/ +!_TAG_KIND_DESCRIPTION!Go v,var /variables/ +!_TAG_KIND_DESCRIPTION!HTML C,stylesheet /stylesheets/ +!_TAG_KIND_DESCRIPTION!HTML I,id /identifiers/ +!_TAG_KIND_DESCRIPTION!HTML J,script /scripts/ +!_TAG_KIND_DESCRIPTION!HTML a,anchor /named anchors/ +!_TAG_KIND_DESCRIPTION!HTML c,class /classes/ +!_TAG_KIND_DESCRIPTION!HTML h,heading1 /H1 headings/ +!_TAG_KIND_DESCRIPTION!HTML i,heading2 /H2 headings/ +!_TAG_KIND_DESCRIPTION!HTML j,heading3 /H3 headings/ +!_TAG_KIND_DESCRIPTION!HTML t,title /titles/ +!_TAG_KIND_DESCRIPTION!Iniconf k,key /keys/ +!_TAG_KIND_DESCRIPTION!Iniconf s,section /sections/ +!_TAG_KIND_DESCRIPTION!JSON a,array /arrays/ +!_TAG_KIND_DESCRIPTION!JSON b,boolean /booleans/ +!_TAG_KIND_DESCRIPTION!JSON n,number /numbers/ +!_TAG_KIND_DESCRIPTION!JSON o,object /objects/ +!_TAG_KIND_DESCRIPTION!JSON s,string /strings/ +!_TAG_KIND_DESCRIPTION!JSON z,null /nulls/ +!_TAG_KIND_DESCRIPTION!Lua f,function /functions/ +!_TAG_KIND_DESCRIPTION!Make I,makefile /makefiles/ +!_TAG_KIND_DESCRIPTION!Make m,macro /macros/ +!_TAG_KIND_DESCRIPTION!Make t,target /targets/ +!_TAG_KIND_DESCRIPTION!Man S,subsection /sub sections/ +!_TAG_KIND_DESCRIPTION!Man s,section /sections/ +!_TAG_KIND_DESCRIPTION!Man t,title /titles/ +!_TAG_KIND_DESCRIPTION!Markdown S,subsection /level 2 sections/ +!_TAG_KIND_DESCRIPTION!Markdown T,l4subsection /level 4 sections/ +!_TAG_KIND_DESCRIPTION!Markdown c,chapter /chapters/ +!_TAG_KIND_DESCRIPTION!Markdown h,hashtag /hashtags/ +!_TAG_KIND_DESCRIPTION!Markdown n,footnote /footnotes/ +!_TAG_KIND_DESCRIPTION!Markdown s,section /sections/ +!_TAG_KIND_DESCRIPTION!Markdown t,subsubsection /level 3 sections/ +!_TAG_KIND_DESCRIPTION!Markdown u,l5subsection /level 5 sections/ +!_TAG_KIND_DESCRIPTION!OpenAPI P,parameter /parameters/ +!_TAG_KIND_DESCRIPTION!OpenAPI R,response /responses/ +!_TAG_KIND_DESCRIPTION!OpenAPI T,tag /tags/ +!_TAG_KIND_DESCRIPTION!OpenAPI d,schema /schemas/ +!_TAG_KIND_DESCRIPTION!OpenAPI p,path /paths/ +!_TAG_KIND_DESCRIPTION!OpenAPI s,server /servers (or hosts in swagger)/ +!_TAG_KIND_DESCRIPTION!OpenAPI t,title /titles/ +!_TAG_KIND_DESCRIPTION!Perl c,constant /constants/ +!_TAG_KIND_DESCRIPTION!Perl f,format /formats/ +!_TAG_KIND_DESCRIPTION!Perl l,label /labels/ +!_TAG_KIND_DESCRIPTION!Perl p,package /packages/ +!_TAG_KIND_DESCRIPTION!Perl s,subroutine /subroutines/ +!_TAG_KIND_DESCRIPTION!Pod S,subsection /subsections/ +!_TAG_KIND_DESCRIPTION!Pod c,chapter /chapters/ +!_TAG_KIND_DESCRIPTION!Pod s,section /sections/ +!_TAG_KIND_DESCRIPTION!Pod t,subsubsection /subsubsections/ +!_TAG_KIND_DESCRIPTION!PowerShell c,class /classes/ +!_TAG_KIND_DESCRIPTION!PowerShell e,enumlabel /enum labels/ +!_TAG_KIND_DESCRIPTION!PowerShell f,function /functions/ +!_TAG_KIND_DESCRIPTION!PowerShell g,enum /enum names/ +!_TAG_KIND_DESCRIPTION!PowerShell i,filter /filter/ +!_TAG_KIND_DESCRIPTION!PowerShell v,variable /variables/ +!_TAG_KIND_DESCRIPTION!Protobuf D,protodef /.proto definition/ +!_TAG_KIND_DESCRIPTION!Protobuf G,group /groups/ +!_TAG_KIND_DESCRIPTION!Protobuf e,enumerator /enum constants/ +!_TAG_KIND_DESCRIPTION!Protobuf f,field /fields/ +!_TAG_KIND_DESCRIPTION!Protobuf g,enum /enum types/ +!_TAG_KIND_DESCRIPTION!Protobuf m,message /messages/ +!_TAG_KIND_DESCRIPTION!Protobuf o,oneof /oneof names/ +!_TAG_KIND_DESCRIPTION!Protobuf p,package /packages/ +!_TAG_KIND_DESCRIPTION!Protobuf r,rpc /RPC methods/ +!_TAG_KIND_DESCRIPTION!Protobuf s,service /services/ +!_TAG_KIND_DESCRIPTION!Python I,namespace /name referring a module defined in other file/ +!_TAG_KIND_DESCRIPTION!Python Y,unknown /name referring a class\/variable\/function\/module defined in other module/ +!_TAG_KIND_DESCRIPTION!Python c,class /classes/ +!_TAG_KIND_DESCRIPTION!Python f,function /functions/ +!_TAG_KIND_DESCRIPTION!Python i,module /modules/ +!_TAG_KIND_DESCRIPTION!Python m,member /class members/ +!_TAG_KIND_DESCRIPTION!Python v,variable /variables/ +!_TAG_KIND_DESCRIPTION!R L,list /lists explicitly created with `list()'/ +!_TAG_KIND_DESCRIPTION!R c,vector /vectors explicitly created with `c()'/ +!_TAG_KIND_DESCRIPTION!R d,dataframe /data frame explicitly created with `data.frame()'/ +!_TAG_KIND_DESCRIPTION!R f,function /functions/ +!_TAG_KIND_DESCRIPTION!R g,globalVar /global variables having values other than function()/ +!_TAG_KIND_DESCRIPTION!R l,library /libraries/ +!_TAG_KIND_DESCRIPTION!R n,nameattr /names attribtes in vectors, lists, or dataframes/ +!_TAG_KIND_DESCRIPTION!R s,source /sources/ +!_TAG_KIND_DESCRIPTION!R v,functionVar /function variables having values other than function()/ +!_TAG_KIND_DESCRIPTION!ReStructuredText C,citation /citations/ +!_TAG_KIND_DESCRIPTION!ReStructuredText H,title /titles/ +!_TAG_KIND_DESCRIPTION!ReStructuredText S,subsection /subsections/ +!_TAG_KIND_DESCRIPTION!ReStructuredText T,target /targets/ +!_TAG_KIND_DESCRIPTION!ReStructuredText c,chapter /chapters/ +!_TAG_KIND_DESCRIPTION!ReStructuredText d,substdef /substitute definitions/ +!_TAG_KIND_DESCRIPTION!ReStructuredText h,subtitle /sub titles/ +!_TAG_KIND_DESCRIPTION!ReStructuredText s,section /sections/ +!_TAG_KIND_DESCRIPTION!ReStructuredText t,subsubsection /subsubsections/ +!_TAG_KIND_DESCRIPTION!RpmSpec g,global /global macros/ +!_TAG_KIND_DESCRIPTION!RpmSpec m,macro /macros/ +!_TAG_KIND_DESCRIPTION!RpmSpec p,package /packages/ +!_TAG_KIND_DESCRIPTION!RpmSpec p,patch /patch files/ +!_TAG_KIND_DESCRIPTION!RpmSpec t,tag /tags/ +!_TAG_KIND_DESCRIPTION!Ruby A,accessor /accessors/ +!_TAG_KIND_DESCRIPTION!Ruby C,constant /constants/ +!_TAG_KIND_DESCRIPTION!Ruby L,library /libraries/ +!_TAG_KIND_DESCRIPTION!Ruby S,singletonMethod /singleton methods/ +!_TAG_KIND_DESCRIPTION!Ruby a,alias /aliases/ +!_TAG_KIND_DESCRIPTION!Ruby c,class /classes/ +!_TAG_KIND_DESCRIPTION!Ruby f,method /methods/ +!_TAG_KIND_DESCRIPTION!Ruby m,module /modules/ +!_TAG_KIND_DESCRIPTION!SVG d,def /ids in defs tags/ +!_TAG_KIND_DESCRIPTION!Sh a,alias /aliases/ +!_TAG_KIND_DESCRIPTION!Sh f,function /functions/ +!_TAG_KIND_DESCRIPTION!Sh h,heredoc /label for here document/ +!_TAG_KIND_DESCRIPTION!Sh s,script /script files/ +!_TAG_KIND_DESCRIPTION!SystemdUnit u,unit /units/ +!_TAG_KIND_DESCRIPTION!TOML K,qkey /qualified keys/ +!_TAG_KIND_DESCRIPTION!TOML a,arraytable /array tables/ +!_TAG_KIND_DESCRIPTION!TOML t,table /tables/ +!_TAG_KIND_DESCRIPTION!XML i,id /id attributes/ +!_TAG_KIND_DESCRIPTION!XML n,nsprefix /namespace prefixes/ +!_TAG_KIND_DESCRIPTION!XML r,root /root elements/ +!_TAG_KIND_DESCRIPTION!Yaml a,anchor /anchors/ +!_TAG_KIND_DESCRIPTION!Zsh a,alias /aliases/ +!_TAG_KIND_DESCRIPTION!Zsh f,function /functions/ +!_TAG_KIND_DESCRIPTION!Zsh h,heredoc /label for here document/ +!_TAG_KIND_DESCRIPTION!Zsh s,script /script files/ +!_TAG_OUTPUT_EXCMD mixed /number, pattern, mixed, or combineV2/ +!_TAG_OUTPUT_FILESEP slash /slash or backslash/ +!_TAG_OUTPUT_MODE u-ctags /u-ctags or e-ctags/ +!_TAG_OUTPUT_VERSION 0.0 /current.age/ +!_TAG_PARSER_VERSION!Asciidoc 0.0 /current.age/ +!_TAG_PARSER_VERSION!Asm 1.0 /current.age/ +!_TAG_PARSER_VERSION!Awk 0.0 /current.age/ +!_TAG_PARSER_VERSION!Bats 0.0 /current.age/ +!_TAG_PARSER_VERSION!C 1.1 /current.age/ +!_TAG_PARSER_VERSION!C++ 1.1 /current.age/ +!_TAG_PARSER_VERSION!CSS 0.0 /current.age/ +!_TAG_PARSER_VERSION!DTD 0.0 /current.age/ +!_TAG_PARSER_VERSION!Diff 0.0 /current.age/ +!_TAG_PARSER_VERSION!DosBatch 0.0 /current.age/ +!_TAG_PARSER_VERSION!Go 0.0 /current.age/ +!_TAG_PARSER_VERSION!HTML 0.0 /current.age/ +!_TAG_PARSER_VERSION!Iniconf 0.0 /current.age/ +!_TAG_PARSER_VERSION!JSON 0.0 /current.age/ +!_TAG_PARSER_VERSION!Lua 0.0 /current.age/ +!_TAG_PARSER_VERSION!Make 1.1 /current.age/ +!_TAG_PARSER_VERSION!Man 0.0 /current.age/ +!_TAG_PARSER_VERSION!Markdown 1.1 /current.age/ +!_TAG_PARSER_VERSION!OpenAPI 0.0 /current.age/ +!_TAG_PARSER_VERSION!Perl 0.0 /current.age/ +!_TAG_PARSER_VERSION!Pod 0.0 /current.age/ +!_TAG_PARSER_VERSION!PowerShell 1.1 /current.age/ +!_TAG_PARSER_VERSION!Protobuf 0.0 /current.age/ +!_TAG_PARSER_VERSION!Python 0.0 /current.age/ +!_TAG_PARSER_VERSION!R 0.0 /current.age/ +!_TAG_PARSER_VERSION!ReStructuredText 0.0 /current.age/ +!_TAG_PARSER_VERSION!RpmSpec 0.0 /current.age/ +!_TAG_PARSER_VERSION!Ruby 0.0 /current.age/ +!_TAG_PARSER_VERSION!SVG 0.0 /current.age/ +!_TAG_PARSER_VERSION!Sh 0.0 /current.age/ +!_TAG_PARSER_VERSION!SystemdUnit 0.0 /current.age/ +!_TAG_PARSER_VERSION!TOML 0.0 /current.age/ +!_TAG_PARSER_VERSION!XML 0.0 /current.age/ +!_TAG_PARSER_VERSION!Yaml 0.0 /current.age/ +!_TAG_PARSER_VERSION!Zsh 0.0 /current.age/ +!_TAG_PATTERN_LENGTH_LIMIT 96 /0 for no limit/ +!_TAG_PROC_CWD /home/yamato/var/ctags-github/ // +!_TAG_PROGRAM_AUTHOR Universal Ctags Team // +!_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/ +!_TAG_PROGRAM_URL https://ctags.io/ /official site/ +!_TAG_PROGRAM_VERSION 6.1.0 /d1ecc51b9/ +!_TAG_ROLE_DESCRIPTION!Bats!script loaded /script loaed with "load" command/ +!_TAG_ROLE_DESCRIPTION!C!function foreigndecl /declared in foreign languages/ +!_TAG_ROLE_DESCRIPTION!C!header local /local header/ +!_TAG_ROLE_DESCRIPTION!C!header system /system header/ +!_TAG_ROLE_DESCRIPTION!C!macro undef /undefined/ +!_TAG_ROLE_DESCRIPTION!C!struct foreigndecl /declared in foreign languages/ +!_TAG_ROLE_DESCRIPTION!C++!header exported /exported with "exported imported ..."/ +!_TAG_ROLE_DESCRIPTION!C++!header imported /imported with "imported ..."/ +!_TAG_ROLE_DESCRIPTION!C++!header local /local header/ +!_TAG_ROLE_DESCRIPTION!C++!header system /system header/ +!_TAG_ROLE_DESCRIPTION!C++!macro undef /undefined/ +!_TAG_ROLE_DESCRIPTION!C++!module imported /imported with "imported ..."/ +!_TAG_ROLE_DESCRIPTION!C++!module partOwner /used for specifying a partition/ +!_TAG_ROLE_DESCRIPTION!C++!partition imported /imported with "imported ..."/ +!_TAG_ROLE_DESCRIPTION!DTD!element attOwner /attributes owner/ +!_TAG_ROLE_DESCRIPTION!DTD!parameterEntity condition /conditions/ +!_TAG_ROLE_DESCRIPTION!DTD!parameterEntity elementName /element names/ +!_TAG_ROLE_DESCRIPTION!DTD!parameterEntity partOfAttDef /part of attribute definition/ +!_TAG_ROLE_DESCRIPTION!Go!package imported /imported package/ +!_TAG_ROLE_DESCRIPTION!Go!unknown receiverType /receiver type/ +!_TAG_ROLE_DESCRIPTION!HTML!class attribute /assigned as attributes/ +!_TAG_ROLE_DESCRIPTION!HTML!script extFile /referenced as external files/ +!_TAG_ROLE_DESCRIPTION!HTML!stylesheet extFile /referenced as external files/ +!_TAG_ROLE_DESCRIPTION!Make!makefile included /included/ +!_TAG_ROLE_DESCRIPTION!Make!makefile optional /optionally included/ +!_TAG_ROLE_DESCRIPTION!Protobuf!message extension /extending the message/ +!_TAG_ROLE_DESCRIPTION!Protobuf!protodef imported /imported/ +!_TAG_ROLE_DESCRIPTION!Python!module imported /imported modules/ +!_TAG_ROLE_DESCRIPTION!Python!module indirectlyImported /module imported in alternative name/ +!_TAG_ROLE_DESCRIPTION!Python!module namespace /namespace from where classes\/variables\/functions are imported/ +!_TAG_ROLE_DESCRIPTION!Python!unknown imported /imported from the other module/ +!_TAG_ROLE_DESCRIPTION!Python!unknown indirectlyImported /classes\/variables\/functions\/modules imported in alternative name/ +!_TAG_ROLE_DESCRIPTION!R!library library /library attached by library function/ +!_TAG_ROLE_DESCRIPTION!R!library require /library attached by require function/ +!_TAG_ROLE_DESCRIPTION!R!source source /source loaded by source fucntion/ +!_TAG_ROLE_DESCRIPTION!RpmSpec!macro undef /undefined/ +!_TAG_ROLE_DESCRIPTION!RpmSpec!patch decl /declared for applying later/ +!_TAG_ROLE_DESCRIPTION!Ruby!library loaded /loaded by "load" method/ +!_TAG_ROLE_DESCRIPTION!Ruby!library required /loaded by "require" method/ +!_TAG_ROLE_DESCRIPTION!Ruby!library requiredRel /loaded by "require_relative" method/ +!_TAG_ROLE_DESCRIPTION!Sh!heredoc endmarker /end marker/ +!_TAG_ROLE_DESCRIPTION!Sh!script loaded /loaded/ +!_TAG_ROLE_DESCRIPTION!SystemdUnit!unit After /referred in After key/ +!_TAG_ROLE_DESCRIPTION!SystemdUnit!unit Before /referred in Before key/ +!_TAG_ROLE_DESCRIPTION!SystemdUnit!unit RequiredBy /referred in RequiredBy key/ +!_TAG_ROLE_DESCRIPTION!SystemdUnit!unit Requires /referred in Requires key/ +!_TAG_ROLE_DESCRIPTION!SystemdUnit!unit WantedBy /referred in WantedBy key/ +!_TAG_ROLE_DESCRIPTION!SystemdUnit!unit Wants /referred in Wants key/ +!_TAG_ROLE_DESCRIPTION!Yaml!anchor alias /alias/ +!_TAG_ROLE_DESCRIPTION!Zsh!function autoloaded /function name passed to autoload built-in command/ +!_TAG_ROLE_DESCRIPTION!Zsh!heredoc endmarker /end marker/ +!_TAG_ROLE_DESCRIPTION!Zsh!script autoloaded /autoloaded/ +!_TAG_ROLE_DESCRIPTION!Zsh!script loaded /loaded/ +zr /home/yamato/var/podman/vendor/golang.org/x/net/http2/transport.go /^ zr *gzip.Reader \/\/ lazily-initialized gzip reader$/;" m struct:http2.gzipReader typeref:typename:*gzip.Reader diff --git a/Tmain/readtags-ptags-dls.d/run.sh b/Tmain/readtags-ptags-dls.d/run.sh new file mode 100644 index 0000000000..f542b1fd16 --- /dev/null +++ b/Tmain/readtags-ptags-dls.d/run.sh @@ -0,0 +1,24 @@ +#!/bin/sh + +# Copyright: 2024 Masatake YAMATO +# License: GPL-2 + +READTAGS=$3 +#V="valgrind --leak-check=full --track-origins=yes -v" +V= + +. ../utils.sh + +skip_if_no_readtags "$READTAGS" + +echo '# FILTER' && +${V} ${READTAGS} -t input.tags -Q '(#/.*CWD.*/ $name)' -D && + +echo '# FORMATTER' && +${V} ${READTAGS} -t input.tags -Q '(#/.*CWD.*/ $name)' -F '(list $input #t)' -D && + +echo '# SORTING INPUT' && +${V} ${READTAGS} -t input.tags -S '(<> $input &input)' -D && + +echo '# SORTING ! INPUT' && +${V} ${READTAGS} -t input.tags -S '(*- (<> $input &input))' -D diff --git a/Tmain/readtags-ptags-dls.d/stderr-expected.txt b/Tmain/readtags-ptags-dls.d/stderr-expected.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/Tmain/readtags-ptags-dls.d/stdout-expected.txt b/Tmain/readtags-ptags-dls.d/stdout-expected.txt new file mode 100644 index 0000000000..3215bfdc85 --- /dev/null +++ b/Tmain/readtags-ptags-dls.d/stdout-expected.txt @@ -0,0 +1,610 @@ +# FILTER +!_TAG_PROC_CWD /home/yamato/var/ctags-github/ // +# FORMATTER +/home/yamato/var/ctags-github/ +# SORTING INPUT +!_TAG_PROC_CWD /home/yamato/var/ctags-github/ // +!_TAG_OUTPUT_VERSION 0.0 /current.age/ +!_TAG_PARSER_VERSION!Asciidoc 0.0 /current.age/ +!_TAG_PARSER_VERSION!Awk 0.0 /current.age/ +!_TAG_PARSER_VERSION!Bats 0.0 /current.age/ +!_TAG_PARSER_VERSION!CSS 0.0 /current.age/ +!_TAG_PARSER_VERSION!DTD 0.0 /current.age/ +!_TAG_PARSER_VERSION!Diff 0.0 /current.age/ +!_TAG_PARSER_VERSION!DosBatch 0.0 /current.age/ +!_TAG_PARSER_VERSION!Go 0.0 /current.age/ +!_TAG_PARSER_VERSION!HTML 0.0 /current.age/ +!_TAG_PARSER_VERSION!Iniconf 0.0 /current.age/ +!_TAG_PARSER_VERSION!JSON 0.0 /current.age/ +!_TAG_PARSER_VERSION!Lua 0.0 /current.age/ +!_TAG_PARSER_VERSION!Man 0.0 /current.age/ +!_TAG_PARSER_VERSION!OpenAPI 0.0 /current.age/ +!_TAG_PARSER_VERSION!Perl 0.0 /current.age/ +!_TAG_PARSER_VERSION!Pod 0.0 /current.age/ +!_TAG_PARSER_VERSION!Protobuf 0.0 /current.age/ +!_TAG_PARSER_VERSION!Python 0.0 /current.age/ +!_TAG_PARSER_VERSION!R 0.0 /current.age/ +!_TAG_PARSER_VERSION!ReStructuredText 0.0 /current.age/ +!_TAG_PARSER_VERSION!RpmSpec 0.0 /current.age/ +!_TAG_PARSER_VERSION!Ruby 0.0 /current.age/ +!_TAG_PARSER_VERSION!SVG 0.0 /current.age/ +!_TAG_PARSER_VERSION!Sh 0.0 /current.age/ +!_TAG_PARSER_VERSION!SystemdUnit 0.0 /current.age/ +!_TAG_PARSER_VERSION!TOML 0.0 /current.age/ +!_TAG_PARSER_VERSION!XML 0.0 /current.age/ +!_TAG_PARSER_VERSION!Yaml 0.0 /current.age/ +!_TAG_PARSER_VERSION!Zsh 0.0 /current.age/ +!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ +!_TAG_PARSER_VERSION!Asm 1.0 /current.age/ +!_TAG_PARSER_VERSION!C 1.1 /current.age/ +!_TAG_PARSER_VERSION!C++ 1.1 /current.age/ +!_TAG_PARSER_VERSION!Make 1.1 /current.age/ +!_TAG_PARSER_VERSION!Markdown 1.1 /current.age/ +!_TAG_PARSER_VERSION!PowerShell 1.1 /current.age/ +!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ +!_TAG_PROGRAM_VERSION 6.1.0 /d1ecc51b9/ +!_TAG_PATTERN_LENGTH_LIMIT 96 /0 for no limit/ +!_TAG_KIND_DESCRIPTION!Ruby A,accessor /accessors/ +!_TAG_ROLE_DESCRIPTION!SystemdUnit!unit After /referred in After key/ +!_TAG_ROLE_DESCRIPTION!SystemdUnit!unit Before /referred in Before key/ +!_TAG_KIND_DESCRIPTION!ReStructuredText C,citation /citations/ +!_TAG_KIND_DESCRIPTION!Ruby C,constant /constants/ +!_TAG_KIND_DESCRIPTION!HTML C,stylesheet /stylesheets/ +!_TAG_KIND_DESCRIPTION!Protobuf D,protodef /.proto definition/ +!_TAG_KIND_DESCRIPTION!DTD E,entity /entities/ +!_TAG_KIND_DESCRIPTION!Protobuf G,group /groups/ +!_TAG_KIND_DESCRIPTION!ReStructuredText H,title /titles/ +!_TAG_KIND_DESCRIPTION!HTML I,id /identifiers/ +!_TAG_KIND_DESCRIPTION!Make I,makefile /makefiles/ +!_TAG_KIND_DESCRIPTION!Python I,namespace /name referring a module defined in other file/ +!_TAG_KIND_DESCRIPTION!HTML J,script /scripts/ +!_TAG_KIND_DESCRIPTION!TOML K,qkey /qualified keys/ +!_TAG_KIND_DESCRIPTION!Ruby L,library /libraries/ +!_TAG_KIND_DESCRIPTION!R L,list /lists explicitly created with `list()'/ +!_TAG_KIND_DESCRIPTION!Go M,anonMember /struct anonymous members/ +!_TAG_KIND_DESCRIPTION!C++ M,module /modules/ +!_TAG_KIND_DESCRIPTION!Go P,packageName /name for specifying imported package/ +!_TAG_KIND_DESCRIPTION!OpenAPI P,parameter /parameters/ +!_TAG_KIND_DESCRIPTION!C++ P,partition /partitions/ +!_TAG_KIND_DESCRIPTION!OpenAPI R,response /responses/ +!_TAG_ROLE_DESCRIPTION!SystemdUnit!unit RequiredBy /referred in RequiredBy key/ +!_TAG_ROLE_DESCRIPTION!SystemdUnit!unit Requires /referred in Requires key/ +!_TAG_KIND_DESCRIPTION!Bats S,script /scripts/ +!_TAG_KIND_DESCRIPTION!Ruby S,singletonMethod /singleton methods/ +!_TAG_KIND_DESCRIPTION!Asciidoc S,subsection /level 2 sections/ +!_TAG_KIND_DESCRIPTION!Man S,subsection /sub sections/ +!_TAG_KIND_DESCRIPTION!Markdown S,subsection /level 2 sections/ +!_TAG_KIND_DESCRIPTION!Pod S,subsection /subsections/ +!_TAG_KIND_DESCRIPTION!ReStructuredText S,subsection /subsections/ +!_TAG_KIND_DESCRIPTION!Asciidoc T,l4subsection /level 4 sections/ +!_TAG_KIND_DESCRIPTION!Markdown T,l4subsection /level 4 sections/ +!_TAG_KIND_DESCRIPTION!OpenAPI T,tag /tags/ +!_TAG_KIND_DESCRIPTION!ReStructuredText T,target /targets/ +!_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/ +!_TAG_PROGRAM_AUTHOR Universal Ctags Team // +!_TAG_ROLE_DESCRIPTION!SystemdUnit!unit WantedBy /referred in WantedBy key/ +!_TAG_ROLE_DESCRIPTION!SystemdUnit!unit Wants /referred in Wants key/ +!_TAG_KIND_DESCRIPTION!Go Y,unknown /unknown/ +!_TAG_KIND_DESCRIPTION!Python Y,unknown /name referring a class\/variable\/function\/module defined in other module/ +!_TAG_KIND_DESCRIPTION!Ruby a,alias /aliases/ +!_TAG_KIND_DESCRIPTION!Sh a,alias /aliases/ +!_TAG_KIND_DESCRIPTION!Zsh a,alias /aliases/ +!_TAG_KIND_DESCRIPTION!Asciidoc a,anchor /anchors/ +!_TAG_KIND_DESCRIPTION!HTML a,anchor /named anchors/ +!_TAG_KIND_DESCRIPTION!Yaml a,anchor /anchors/ +!_TAG_KIND_DESCRIPTION!JSON a,array /arrays/ +!_TAG_KIND_DESCRIPTION!TOML a,arraytable /array tables/ +!_TAG_KIND_DESCRIPTION!DTD a,attribute /attributes/ +!_TAG_KIND_DESCRIPTION!Go a,talias /type aliases/ +!_TAG_ROLE_DESCRIPTION!Yaml!anchor alias /alias/ +!_TAG_EXTRA_DESCRIPTION anonymous /Include tags for non-named objects like lambda/ +!_TAG_ROLE_DESCRIPTION!DTD!element attOwner /attributes owner/ +!_TAG_ROLE_DESCRIPTION!HTML!class attribute /assigned as attributes/ +!_TAG_ROLE_DESCRIPTION!Zsh!function autoloaded /function name passed to autoload built-in command/ +!_TAG_ROLE_DESCRIPTION!Zsh!script autoloaded /autoloaded/ +!_TAG_KIND_DESCRIPTION!JSON b,boolean /booleans/ +!_TAG_KIND_DESCRIPTION!Asciidoc c,chapter /chapters/ +!_TAG_KIND_DESCRIPTION!Markdown c,chapter /chapters/ +!_TAG_KIND_DESCRIPTION!Pod c,chapter /chapters/ +!_TAG_KIND_DESCRIPTION!ReStructuredText c,chapter /chapters/ +!_TAG_KIND_DESCRIPTION!C++ c,class /classes/ +!_TAG_KIND_DESCRIPTION!CSS c,class /classes/ +!_TAG_KIND_DESCRIPTION!HTML c,class /classes/ +!_TAG_KIND_DESCRIPTION!PowerShell c,class /classes/ +!_TAG_KIND_DESCRIPTION!Python c,class /classes/ +!_TAG_KIND_DESCRIPTION!Ruby c,class /classes/ +!_TAG_KIND_DESCRIPTION!Go c,const /constants/ +!_TAG_KIND_DESCRIPTION!Perl c,constant /constants/ +!_TAG_KIND_DESCRIPTION!R c,vector /vectors explicitly created with `c()'/ +!_TAG_ROLE_DESCRIPTION!DTD!parameterEntity condition /conditions/ +!_TAG_FIELD_DESCRIPTION!R constructor /function used for making value assigned to the nameattr tag/ +!_TAG_KIND_DESCRIPTION!R d,dataframe /data frame explicitly created with `data.frame()'/ +!_TAG_KIND_DESCRIPTION!SVG d,def /ids in defs tags/ +!_TAG_KIND_DESCRIPTION!Asm d,define /defines/ +!_TAG_KIND_DESCRIPTION!Diff d,deletedFile /deleted files/ +!_TAG_KIND_DESCRIPTION!C d,macro /macro definitions/ +!_TAG_KIND_DESCRIPTION!C++ d,macro /macro definitions/ +!_TAG_KIND_DESCRIPTION!OpenAPI d,schema /schemas/ +!_TAG_KIND_DESCRIPTION!ReStructuredText d,substdef /substitute definitions/ +!_TAG_ROLE_DESCRIPTION!RpmSpec!patch decl /declared for applying later/ +!_TAG_KIND_DESCRIPTION!DTD e,element /elements/ +!_TAG_KIND_DESCRIPTION!C e,enumerator /enumerators (values inside an enumeration)/ +!_TAG_KIND_DESCRIPTION!C++ e,enumerator /enumerators (values inside an enumeration)/ +!_TAG_KIND_DESCRIPTION!Protobuf e,enumerator /enum constants/ +!_TAG_KIND_DESCRIPTION!PowerShell e,enumlabel /enum labels/ +!_TAG_ROLE_DESCRIPTION!DTD!parameterEntity elementName /element names/ +!_TAG_ROLE_DESCRIPTION!Sh!heredoc endmarker /end marker/ +!_TAG_ROLE_DESCRIPTION!Zsh!heredoc endmarker /end marker/ +!_TAG_FIELD_DESCRIPTION epoch /the last modified time of the input file (only for F\/file kind tag)/ +!_TAG_ROLE_DESCRIPTION!C++!header exported /exported with "exported imported ..."/ +!_TAG_ROLE_DESCRIPTION!HTML!script extFile /referenced as external files/ +!_TAG_ROLE_DESCRIPTION!HTML!stylesheet extFile /referenced as external files/ +!_TAG_ROLE_DESCRIPTION!Protobuf!message extension /extending the message/ +!_TAG_KIND_DESCRIPTION!Protobuf f,field /fields/ +!_TAG_KIND_DESCRIPTION!Perl f,format /formats/ +!_TAG_KIND_DESCRIPTION!Go f,func /functions/ +!_TAG_KIND_DESCRIPTION!Awk f,function /functions/ +!_TAG_KIND_DESCRIPTION!C f,function /function definitions/ +!_TAG_KIND_DESCRIPTION!C++ f,function /function definitions/ +!_TAG_KIND_DESCRIPTION!Lua f,function /functions/ +!_TAG_KIND_DESCRIPTION!PowerShell f,function /functions/ +!_TAG_KIND_DESCRIPTION!Python f,function /functions/ +!_TAG_KIND_DESCRIPTION!R f,function /functions/ +!_TAG_KIND_DESCRIPTION!Sh f,function /functions/ +!_TAG_KIND_DESCRIPTION!Zsh f,function /functions/ +!_TAG_KIND_DESCRIPTION!Ruby f,method /methods/ +!_TAG_FIELD_DESCRIPTION file /File-restricted scoping/ +!_TAG_EXTRA_DESCRIPTION fileScope /Include tags of file scope/ +!_TAG_ROLE_DESCRIPTION!C!function foreigndecl /declared in foreign languages/ +!_TAG_ROLE_DESCRIPTION!C!struct foreigndecl /declared in foreign languages/ +!_TAG_KIND_DESCRIPTION!C g,enum /enumeration names/ +!_TAG_KIND_DESCRIPTION!C++ g,enum /enumeration names/ +!_TAG_KIND_DESCRIPTION!PowerShell g,enum /enum names/ +!_TAG_KIND_DESCRIPTION!Protobuf g,enum /enum types/ +!_TAG_KIND_DESCRIPTION!RpmSpec g,global /global macros/ +!_TAG_KIND_DESCRIPTION!R g,globalVar /global variables having values other than function()/ +!_TAG_KIND_DESCRIPTION!Markdown h,hashtag /hashtags/ +!_TAG_KIND_DESCRIPTION!C h,header /included header files/ +!_TAG_KIND_DESCRIPTION!C++ h,header /included header files/ +!_TAG_KIND_DESCRIPTION!HTML h,heading1 /H1 headings/ +!_TAG_KIND_DESCRIPTION!Sh h,heredoc /label for here document/ +!_TAG_KIND_DESCRIPTION!Zsh h,heredoc /label for here document/ +!_TAG_KIND_DESCRIPTION!Diff h,hunk /hunks/ +!_TAG_KIND_DESCRIPTION!ReStructuredText h,subtitle /sub titles/ +!_TAG_PROGRAM_URL https://ctags.io/ /official site/ +!_TAG_KIND_DESCRIPTION!PowerShell i,filter /filter/ +!_TAG_KIND_DESCRIPTION!HTML i,heading2 /H2 headings/ +!_TAG_KIND_DESCRIPTION!CSS i,id /identities/ +!_TAG_KIND_DESCRIPTION!XML i,id /id attributes/ +!_TAG_KIND_DESCRIPTION!Go i,interface /interfaces/ +!_TAG_KIND_DESCRIPTION!Python i,module /modules/ +!_TAG_ROLE_DESCRIPTION!C++!header imported /imported with "imported ..."/ +!_TAG_ROLE_DESCRIPTION!C++!module imported /imported with "imported ..."/ +!_TAG_ROLE_DESCRIPTION!C++!partition imported /imported with "imported ..."/ +!_TAG_ROLE_DESCRIPTION!Go!package imported /imported package/ +!_TAG_ROLE_DESCRIPTION!Protobuf!protodef imported /imported/ +!_TAG_ROLE_DESCRIPTION!Python!module imported /imported modules/ +!_TAG_ROLE_DESCRIPTION!Python!unknown imported /imported from the other module/ +!_TAG_ROLE_DESCRIPTION!Make!makefile included /included/ +!_TAG_ROLE_DESCRIPTION!Python!module indirectlyImported /module imported in alternative name/ +!_TAG_ROLE_DESCRIPTION!Python!unknown indirectlyImported /classes\/variables\/functions\/modules imported in alternative name/ +!_TAG_FIELD_DESCRIPTION input /input file/ +!_TAG_KIND_DESCRIPTION!HTML j,heading3 /H3 headings/ +!_TAG_KIND_DESCRIPTION!Iniconf k,key /keys/ +!_TAG_KIND_DESCRIPTION!Asm l,label /labels/ +!_TAG_KIND_DESCRIPTION!DosBatch l,label /labels/ +!_TAG_KIND_DESCRIPTION!Perl l,label /labels/ +!_TAG_KIND_DESCRIPTION!R l,library /libraries/ +!_TAG_ROLE_DESCRIPTION!R!library library /library attached by library function/ +!_TAG_ROLE_DESCRIPTION!Bats!script loaded /script loaed with "load" command/ +!_TAG_ROLE_DESCRIPTION!Ruby!library loaded /loaded by "load" method/ +!_TAG_ROLE_DESCRIPTION!Sh!script loaded /loaded/ +!_TAG_ROLE_DESCRIPTION!Zsh!script loaded /loaded/ +!_TAG_ROLE_DESCRIPTION!C!header local /local header/ +!_TAG_ROLE_DESCRIPTION!C++!header local /local header/ +!_TAG_KIND_DESCRIPTION!Asm m,macro /macros/ +!_TAG_KIND_DESCRIPTION!Make m,macro /macros/ +!_TAG_KIND_DESCRIPTION!RpmSpec m,macro /macros/ +!_TAG_KIND_DESCRIPTION!C m,member /struct, and union members/ +!_TAG_KIND_DESCRIPTION!C++ m,member /class, struct, and union members/ +!_TAG_KIND_DESCRIPTION!Go m,member /struct members/ +!_TAG_KIND_DESCRIPTION!Python m,member /class members/ +!_TAG_KIND_DESCRIPTION!Protobuf m,message /messages/ +!_TAG_KIND_DESCRIPTION!Diff m,modifiedFile /modified files/ +!_TAG_KIND_DESCRIPTION!Ruby m,module /modules/ +!_TAG_OUTPUT_EXCMD mixed /number, pattern, mixed, or combineV2/ +!_TAG_FIELD_DESCRIPTION!Ruby mixin /how the class or module is mixed in (mixin:HOW:MODULE)/ +!_TAG_KIND_DESCRIPTION!Markdown n,footnote /footnotes/ +!_TAG_KIND_DESCRIPTION!Go n,methodSpec /interface method specification/ +!_TAG_KIND_DESCRIPTION!R n,nameattr /names attribtes in vectors, lists, or dataframes/ +!_TAG_KIND_DESCRIPTION!C++ n,namespace /namespaces/ +!_TAG_KIND_DESCRIPTION!Diff n,newFile /newly created files/ +!_TAG_KIND_DESCRIPTION!DTD n,notation /notations/ +!_TAG_KIND_DESCRIPTION!XML n,nsprefix /namespace prefixes/ +!_TAG_KIND_DESCRIPTION!JSON n,number /numbers/ +!_TAG_FIELD_DESCRIPTION name /tag name/ +!_TAG_FIELD_DESCRIPTION!C++ name /aliased names/ +!_TAG_FIELD_DESCRIPTION!Python nameref /the original name for the tag/ +!_TAG_ROLE_DESCRIPTION!Python!module namespace /namespace from where classes\/variables\/functions are imported/ +!_TAG_KIND_DESCRIPTION!JSON o,object /objects/ +!_TAG_KIND_DESCRIPTION!Protobuf o,oneof /oneof names/ +!_TAG_ROLE_DESCRIPTION!Make!makefile optional /optionally included/ +!_TAG_KIND_DESCRIPTION!Go p,package /packages/ +!_TAG_KIND_DESCRIPTION!Perl p,package /packages/ +!_TAG_KIND_DESCRIPTION!Protobuf p,package /packages/ +!_TAG_KIND_DESCRIPTION!RpmSpec p,package /packages/ +!_TAG_KIND_DESCRIPTION!DTD p,parameterEntity /parameter entities/ +!_TAG_KIND_DESCRIPTION!RpmSpec p,patch /patch files/ +!_TAG_KIND_DESCRIPTION!OpenAPI p,path /paths/ +!_TAG_FIELD_DESCRIPTION!Go package /the real package specified by the package name/ +!_TAG_FIELD_DESCRIPTION!Go packageName /the name for referring the package/ +!_TAG_ROLE_DESCRIPTION!DTD!parameterEntity partOfAttDef /part of attribute definition/ +!_TAG_ROLE_DESCRIPTION!C++!module partOwner /used for specifying a partition/ +!_TAG_FIELD_DESCRIPTION pattern /pattern/ +!_TAG_FIELD_DESCRIPTION!Asm properties /properties (req, vararg for parameters)/ +!_TAG_EXTRA_DESCRIPTION pseudo /Include pseudo tags/ +!_TAG_KIND_DESCRIPTION!XML r,root /root elements/ +!_TAG_KIND_DESCRIPTION!Protobuf r,rpc /RPC methods/ +!_TAG_ROLE_DESCRIPTION!Go!unknown receiverType /receiver type/ +!_TAG_ROLE_DESCRIPTION!R!library require /library attached by require function/ +!_TAG_ROLE_DESCRIPTION!Ruby!library required /loaded by "require" method/ +!_TAG_ROLE_DESCRIPTION!Ruby!library requiredRel /loaded by "require_relative" method/ +!_TAG_KIND_DESCRIPTION!Sh s,script /script files/ +!_TAG_KIND_DESCRIPTION!Zsh s,script /script files/ +!_TAG_KIND_DESCRIPTION!Asciidoc s,section /sections/ +!_TAG_KIND_DESCRIPTION!Iniconf s,section /sections/ +!_TAG_KIND_DESCRIPTION!Man s,section /sections/ +!_TAG_KIND_DESCRIPTION!Markdown s,section /sections/ +!_TAG_KIND_DESCRIPTION!Pod s,section /sections/ +!_TAG_KIND_DESCRIPTION!ReStructuredText s,section /sections/ +!_TAG_KIND_DESCRIPTION!CSS s,selector /selectors/ +!_TAG_KIND_DESCRIPTION!OpenAPI s,server /servers (or hosts in swagger)/ +!_TAG_KIND_DESCRIPTION!Protobuf s,service /services/ +!_TAG_KIND_DESCRIPTION!R s,source /sources/ +!_TAG_KIND_DESCRIPTION!JSON s,string /strings/ +!_TAG_KIND_DESCRIPTION!C s,struct /structure names/ +!_TAG_KIND_DESCRIPTION!C++ s,struct /structure names/ +!_TAG_KIND_DESCRIPTION!Go s,struct /structs/ +!_TAG_KIND_DESCRIPTION!Perl s,subroutine /subroutines/ +!_TAG_OUTPUT_FILESEP slash /slash or backslash/ +!_TAG_ROLE_DESCRIPTION!R!source source /source loaded by source fucntion/ +!_TAG_EXTRA_DESCRIPTION subparser /Include tags generated by subparsers/ +!_TAG_ROLE_DESCRIPTION!C!header system /system header/ +!_TAG_ROLE_DESCRIPTION!C++!header system /system header/ +!_TAG_KIND_DESCRIPTION!Asciidoc t,subsubsection /level 3 sections/ +!_TAG_KIND_DESCRIPTION!Markdown t,subsubsection /level 3 sections/ +!_TAG_KIND_DESCRIPTION!Pod t,subsubsection /subsubsections/ +!_TAG_KIND_DESCRIPTION!ReStructuredText t,subsubsection /subsubsections/ +!_TAG_KIND_DESCRIPTION!TOML t,table /tables/ +!_TAG_KIND_DESCRIPTION!RpmSpec t,tag /tags/ +!_TAG_KIND_DESCRIPTION!Make t,target /targets/ +!_TAG_KIND_DESCRIPTION!Bats t,test /test cases/ +!_TAG_KIND_DESCRIPTION!HTML t,title /titles/ +!_TAG_KIND_DESCRIPTION!Man t,title /titles/ +!_TAG_KIND_DESCRIPTION!OpenAPI t,title /titles/ +!_TAG_KIND_DESCRIPTION!Asm t,type /types (structs and records)/ +!_TAG_KIND_DESCRIPTION!Go t,type /types/ +!_TAG_KIND_DESCRIPTION!C t,typedef /typedefs/ +!_TAG_KIND_DESCRIPTION!C++ t,typedef /typedefs/ +!_TAG_FIELD_DESCRIPTION typeref /Type and name of a variable or typedef/ +!_TAG_KIND_DESCRIPTION!Asciidoc u,l5subsection /level 5 sections/ +!_TAG_KIND_DESCRIPTION!Markdown u,l5subsection /level 5 sections/ +!_TAG_KIND_DESCRIPTION!C u,union /union names/ +!_TAG_KIND_DESCRIPTION!C++ u,union /union names/ +!_TAG_KIND_DESCRIPTION!SystemdUnit u,unit /units/ +!_TAG_OUTPUT_MODE u-ctags /u-ctags or e-ctags/ +!_TAG_ROLE_DESCRIPTION!C!macro undef /undefined/ +!_TAG_ROLE_DESCRIPTION!C++!macro undef /undefined/ +!_TAG_ROLE_DESCRIPTION!RpmSpec!macro undef /undefined/ +!_TAG_FIELD_DESCRIPTION!XML uri /uri associated with name prefix/ +!_TAG_KIND_DESCRIPTION!R v,functionVar /function variables having values other than function()/ +!_TAG_KIND_DESCRIPTION!Go v,var /variables/ +!_TAG_KIND_DESCRIPTION!C v,variable /variable definitions/ +!_TAG_KIND_DESCRIPTION!C++ v,variable /variable definitions/ +!_TAG_KIND_DESCRIPTION!DosBatch v,variable /variables/ +!_TAG_KIND_DESCRIPTION!PowerShell v,variable /variables/ +!_TAG_KIND_DESCRIPTION!Python v,variable /variables/ +!_TAG_KIND_DESCRIPTION!JSON z,null /nulls/ +# SORTING ! INPUT +!_TAG_KIND_DESCRIPTION!JSON z,null /nulls/ +!_TAG_KIND_DESCRIPTION!C v,variable /variable definitions/ +!_TAG_KIND_DESCRIPTION!C++ v,variable /variable definitions/ +!_TAG_KIND_DESCRIPTION!DosBatch v,variable /variables/ +!_TAG_KIND_DESCRIPTION!PowerShell v,variable /variables/ +!_TAG_KIND_DESCRIPTION!Python v,variable /variables/ +!_TAG_KIND_DESCRIPTION!Go v,var /variables/ +!_TAG_KIND_DESCRIPTION!R v,functionVar /function variables having values other than function()/ +!_TAG_FIELD_DESCRIPTION!XML uri /uri associated with name prefix/ +!_TAG_ROLE_DESCRIPTION!C!macro undef /undefined/ +!_TAG_ROLE_DESCRIPTION!C++!macro undef /undefined/ +!_TAG_ROLE_DESCRIPTION!RpmSpec!macro undef /undefined/ +!_TAG_OUTPUT_MODE u-ctags /u-ctags or e-ctags/ +!_TAG_KIND_DESCRIPTION!SystemdUnit u,unit /units/ +!_TAG_KIND_DESCRIPTION!C u,union /union names/ +!_TAG_KIND_DESCRIPTION!C++ u,union /union names/ +!_TAG_KIND_DESCRIPTION!Asciidoc u,l5subsection /level 5 sections/ +!_TAG_KIND_DESCRIPTION!Markdown u,l5subsection /level 5 sections/ +!_TAG_FIELD_DESCRIPTION typeref /Type and name of a variable or typedef/ +!_TAG_KIND_DESCRIPTION!C t,typedef /typedefs/ +!_TAG_KIND_DESCRIPTION!C++ t,typedef /typedefs/ +!_TAG_KIND_DESCRIPTION!Asm t,type /types (structs and records)/ +!_TAG_KIND_DESCRIPTION!Go t,type /types/ +!_TAG_KIND_DESCRIPTION!HTML t,title /titles/ +!_TAG_KIND_DESCRIPTION!Man t,title /titles/ +!_TAG_KIND_DESCRIPTION!OpenAPI t,title /titles/ +!_TAG_KIND_DESCRIPTION!Bats t,test /test cases/ +!_TAG_KIND_DESCRIPTION!Make t,target /targets/ +!_TAG_KIND_DESCRIPTION!RpmSpec t,tag /tags/ +!_TAG_KIND_DESCRIPTION!TOML t,table /tables/ +!_TAG_KIND_DESCRIPTION!Asciidoc t,subsubsection /level 3 sections/ +!_TAG_KIND_DESCRIPTION!Markdown t,subsubsection /level 3 sections/ +!_TAG_KIND_DESCRIPTION!Pod t,subsubsection /subsubsections/ +!_TAG_KIND_DESCRIPTION!ReStructuredText t,subsubsection /subsubsections/ +!_TAG_ROLE_DESCRIPTION!C!header system /system header/ +!_TAG_ROLE_DESCRIPTION!C++!header system /system header/ +!_TAG_EXTRA_DESCRIPTION subparser /Include tags generated by subparsers/ +!_TAG_ROLE_DESCRIPTION!R!source source /source loaded by source fucntion/ +!_TAG_OUTPUT_FILESEP slash /slash or backslash/ +!_TAG_KIND_DESCRIPTION!Perl s,subroutine /subroutines/ +!_TAG_KIND_DESCRIPTION!C s,struct /structure names/ +!_TAG_KIND_DESCRIPTION!C++ s,struct /structure names/ +!_TAG_KIND_DESCRIPTION!Go s,struct /structs/ +!_TAG_KIND_DESCRIPTION!JSON s,string /strings/ +!_TAG_KIND_DESCRIPTION!R s,source /sources/ +!_TAG_KIND_DESCRIPTION!Protobuf s,service /services/ +!_TAG_KIND_DESCRIPTION!OpenAPI s,server /servers (or hosts in swagger)/ +!_TAG_KIND_DESCRIPTION!CSS s,selector /selectors/ +!_TAG_KIND_DESCRIPTION!Asciidoc s,section /sections/ +!_TAG_KIND_DESCRIPTION!Iniconf s,section /sections/ +!_TAG_KIND_DESCRIPTION!Man s,section /sections/ +!_TAG_KIND_DESCRIPTION!Markdown s,section /sections/ +!_TAG_KIND_DESCRIPTION!Pod s,section /sections/ +!_TAG_KIND_DESCRIPTION!ReStructuredText s,section /sections/ +!_TAG_KIND_DESCRIPTION!Sh s,script /script files/ +!_TAG_KIND_DESCRIPTION!Zsh s,script /script files/ +!_TAG_ROLE_DESCRIPTION!Ruby!library requiredRel /loaded by "require_relative" method/ +!_TAG_ROLE_DESCRIPTION!Ruby!library required /loaded by "require" method/ +!_TAG_ROLE_DESCRIPTION!R!library require /library attached by require function/ +!_TAG_ROLE_DESCRIPTION!Go!unknown receiverType /receiver type/ +!_TAG_KIND_DESCRIPTION!Protobuf r,rpc /RPC methods/ +!_TAG_KIND_DESCRIPTION!XML r,root /root elements/ +!_TAG_EXTRA_DESCRIPTION pseudo /Include pseudo tags/ +!_TAG_FIELD_DESCRIPTION!Asm properties /properties (req, vararg for parameters)/ +!_TAG_FIELD_DESCRIPTION pattern /pattern/ +!_TAG_ROLE_DESCRIPTION!C++!module partOwner /used for specifying a partition/ +!_TAG_ROLE_DESCRIPTION!DTD!parameterEntity partOfAttDef /part of attribute definition/ +!_TAG_FIELD_DESCRIPTION!Go packageName /the name for referring the package/ +!_TAG_FIELD_DESCRIPTION!Go package /the real package specified by the package name/ +!_TAG_KIND_DESCRIPTION!OpenAPI p,path /paths/ +!_TAG_KIND_DESCRIPTION!RpmSpec p,patch /patch files/ +!_TAG_KIND_DESCRIPTION!DTD p,parameterEntity /parameter entities/ +!_TAG_KIND_DESCRIPTION!Go p,package /packages/ +!_TAG_KIND_DESCRIPTION!Perl p,package /packages/ +!_TAG_KIND_DESCRIPTION!Protobuf p,package /packages/ +!_TAG_KIND_DESCRIPTION!RpmSpec p,package /packages/ +!_TAG_ROLE_DESCRIPTION!Make!makefile optional /optionally included/ +!_TAG_KIND_DESCRIPTION!Protobuf o,oneof /oneof names/ +!_TAG_KIND_DESCRIPTION!JSON o,object /objects/ +!_TAG_ROLE_DESCRIPTION!Python!module namespace /namespace from where classes\/variables\/functions are imported/ +!_TAG_FIELD_DESCRIPTION!Python nameref /the original name for the tag/ +!_TAG_FIELD_DESCRIPTION name /tag name/ +!_TAG_FIELD_DESCRIPTION!C++ name /aliased names/ +!_TAG_KIND_DESCRIPTION!JSON n,number /numbers/ +!_TAG_KIND_DESCRIPTION!XML n,nsprefix /namespace prefixes/ +!_TAG_KIND_DESCRIPTION!DTD n,notation /notations/ +!_TAG_KIND_DESCRIPTION!Diff n,newFile /newly created files/ +!_TAG_KIND_DESCRIPTION!C++ n,namespace /namespaces/ +!_TAG_KIND_DESCRIPTION!R n,nameattr /names attribtes in vectors, lists, or dataframes/ +!_TAG_KIND_DESCRIPTION!Go n,methodSpec /interface method specification/ +!_TAG_KIND_DESCRIPTION!Markdown n,footnote /footnotes/ +!_TAG_FIELD_DESCRIPTION!Ruby mixin /how the class or module is mixed in (mixin:HOW:MODULE)/ +!_TAG_OUTPUT_EXCMD mixed /number, pattern, mixed, or combineV2/ +!_TAG_KIND_DESCRIPTION!Ruby m,module /modules/ +!_TAG_KIND_DESCRIPTION!Diff m,modifiedFile /modified files/ +!_TAG_KIND_DESCRIPTION!Protobuf m,message /messages/ +!_TAG_KIND_DESCRIPTION!C m,member /struct, and union members/ +!_TAG_KIND_DESCRIPTION!C++ m,member /class, struct, and union members/ +!_TAG_KIND_DESCRIPTION!Go m,member /struct members/ +!_TAG_KIND_DESCRIPTION!Python m,member /class members/ +!_TAG_KIND_DESCRIPTION!Asm m,macro /macros/ +!_TAG_KIND_DESCRIPTION!Make m,macro /macros/ +!_TAG_KIND_DESCRIPTION!RpmSpec m,macro /macros/ +!_TAG_ROLE_DESCRIPTION!C!header local /local header/ +!_TAG_ROLE_DESCRIPTION!C++!header local /local header/ +!_TAG_ROLE_DESCRIPTION!Bats!script loaded /script loaed with "load" command/ +!_TAG_ROLE_DESCRIPTION!Ruby!library loaded /loaded by "load" method/ +!_TAG_ROLE_DESCRIPTION!Sh!script loaded /loaded/ +!_TAG_ROLE_DESCRIPTION!Zsh!script loaded /loaded/ +!_TAG_ROLE_DESCRIPTION!R!library library /library attached by library function/ +!_TAG_KIND_DESCRIPTION!R l,library /libraries/ +!_TAG_KIND_DESCRIPTION!Asm l,label /labels/ +!_TAG_KIND_DESCRIPTION!DosBatch l,label /labels/ +!_TAG_KIND_DESCRIPTION!Perl l,label /labels/ +!_TAG_KIND_DESCRIPTION!Iniconf k,key /keys/ +!_TAG_KIND_DESCRIPTION!HTML j,heading3 /H3 headings/ +!_TAG_FIELD_DESCRIPTION input /input file/ +!_TAG_ROLE_DESCRIPTION!Python!module indirectlyImported /module imported in alternative name/ +!_TAG_ROLE_DESCRIPTION!Python!unknown indirectlyImported /classes\/variables\/functions\/modules imported in alternative name/ +!_TAG_ROLE_DESCRIPTION!Make!makefile included /included/ +!_TAG_ROLE_DESCRIPTION!C++!header imported /imported with "imported ..."/ +!_TAG_ROLE_DESCRIPTION!C++!module imported /imported with "imported ..."/ +!_TAG_ROLE_DESCRIPTION!C++!partition imported /imported with "imported ..."/ +!_TAG_ROLE_DESCRIPTION!Go!package imported /imported package/ +!_TAG_ROLE_DESCRIPTION!Protobuf!protodef imported /imported/ +!_TAG_ROLE_DESCRIPTION!Python!module imported /imported modules/ +!_TAG_ROLE_DESCRIPTION!Python!unknown imported /imported from the other module/ +!_TAG_KIND_DESCRIPTION!Python i,module /modules/ +!_TAG_KIND_DESCRIPTION!Go i,interface /interfaces/ +!_TAG_KIND_DESCRIPTION!CSS i,id /identities/ +!_TAG_KIND_DESCRIPTION!XML i,id /id attributes/ +!_TAG_KIND_DESCRIPTION!HTML i,heading2 /H2 headings/ +!_TAG_KIND_DESCRIPTION!PowerShell i,filter /filter/ +!_TAG_PROGRAM_URL https://ctags.io/ /official site/ +!_TAG_KIND_DESCRIPTION!ReStructuredText h,subtitle /sub titles/ +!_TAG_KIND_DESCRIPTION!Diff h,hunk /hunks/ +!_TAG_KIND_DESCRIPTION!Sh h,heredoc /label for here document/ +!_TAG_KIND_DESCRIPTION!Zsh h,heredoc /label for here document/ +!_TAG_KIND_DESCRIPTION!HTML h,heading1 /H1 headings/ +!_TAG_KIND_DESCRIPTION!C h,header /included header files/ +!_TAG_KIND_DESCRIPTION!C++ h,header /included header files/ +!_TAG_KIND_DESCRIPTION!Markdown h,hashtag /hashtags/ +!_TAG_KIND_DESCRIPTION!R g,globalVar /global variables having values other than function()/ +!_TAG_KIND_DESCRIPTION!RpmSpec g,global /global macros/ +!_TAG_KIND_DESCRIPTION!C g,enum /enumeration names/ +!_TAG_KIND_DESCRIPTION!C++ g,enum /enumeration names/ +!_TAG_KIND_DESCRIPTION!PowerShell g,enum /enum names/ +!_TAG_KIND_DESCRIPTION!Protobuf g,enum /enum types/ +!_TAG_ROLE_DESCRIPTION!C!function foreigndecl /declared in foreign languages/ +!_TAG_ROLE_DESCRIPTION!C!struct foreigndecl /declared in foreign languages/ +!_TAG_EXTRA_DESCRIPTION fileScope /Include tags of file scope/ +!_TAG_FIELD_DESCRIPTION file /File-restricted scoping/ +!_TAG_KIND_DESCRIPTION!Ruby f,method /methods/ +!_TAG_KIND_DESCRIPTION!Awk f,function /functions/ +!_TAG_KIND_DESCRIPTION!C f,function /function definitions/ +!_TAG_KIND_DESCRIPTION!C++ f,function /function definitions/ +!_TAG_KIND_DESCRIPTION!Lua f,function /functions/ +!_TAG_KIND_DESCRIPTION!PowerShell f,function /functions/ +!_TAG_KIND_DESCRIPTION!Python f,function /functions/ +!_TAG_KIND_DESCRIPTION!R f,function /functions/ +!_TAG_KIND_DESCRIPTION!Sh f,function /functions/ +!_TAG_KIND_DESCRIPTION!Zsh f,function /functions/ +!_TAG_KIND_DESCRIPTION!Go f,func /functions/ +!_TAG_KIND_DESCRIPTION!Perl f,format /formats/ +!_TAG_KIND_DESCRIPTION!Protobuf f,field /fields/ +!_TAG_ROLE_DESCRIPTION!Protobuf!message extension /extending the message/ +!_TAG_ROLE_DESCRIPTION!HTML!script extFile /referenced as external files/ +!_TAG_ROLE_DESCRIPTION!HTML!stylesheet extFile /referenced as external files/ +!_TAG_ROLE_DESCRIPTION!C++!header exported /exported with "exported imported ..."/ +!_TAG_FIELD_DESCRIPTION epoch /the last modified time of the input file (only for F\/file kind tag)/ +!_TAG_ROLE_DESCRIPTION!Sh!heredoc endmarker /end marker/ +!_TAG_ROLE_DESCRIPTION!Zsh!heredoc endmarker /end marker/ +!_TAG_ROLE_DESCRIPTION!DTD!parameterEntity elementName /element names/ +!_TAG_KIND_DESCRIPTION!PowerShell e,enumlabel /enum labels/ +!_TAG_KIND_DESCRIPTION!C e,enumerator /enumerators (values inside an enumeration)/ +!_TAG_KIND_DESCRIPTION!C++ e,enumerator /enumerators (values inside an enumeration)/ +!_TAG_KIND_DESCRIPTION!Protobuf e,enumerator /enum constants/ +!_TAG_KIND_DESCRIPTION!DTD e,element /elements/ +!_TAG_ROLE_DESCRIPTION!RpmSpec!patch decl /declared for applying later/ +!_TAG_KIND_DESCRIPTION!ReStructuredText d,substdef /substitute definitions/ +!_TAG_KIND_DESCRIPTION!OpenAPI d,schema /schemas/ +!_TAG_KIND_DESCRIPTION!C d,macro /macro definitions/ +!_TAG_KIND_DESCRIPTION!C++ d,macro /macro definitions/ +!_TAG_KIND_DESCRIPTION!Diff d,deletedFile /deleted files/ +!_TAG_KIND_DESCRIPTION!Asm d,define /defines/ +!_TAG_KIND_DESCRIPTION!SVG d,def /ids in defs tags/ +!_TAG_KIND_DESCRIPTION!R d,dataframe /data frame explicitly created with `data.frame()'/ +!_TAG_FIELD_DESCRIPTION!R constructor /function used for making value assigned to the nameattr tag/ +!_TAG_ROLE_DESCRIPTION!DTD!parameterEntity condition /conditions/ +!_TAG_KIND_DESCRIPTION!R c,vector /vectors explicitly created with `c()'/ +!_TAG_KIND_DESCRIPTION!Perl c,constant /constants/ +!_TAG_KIND_DESCRIPTION!Go c,const /constants/ +!_TAG_KIND_DESCRIPTION!C++ c,class /classes/ +!_TAG_KIND_DESCRIPTION!CSS c,class /classes/ +!_TAG_KIND_DESCRIPTION!HTML c,class /classes/ +!_TAG_KIND_DESCRIPTION!PowerShell c,class /classes/ +!_TAG_KIND_DESCRIPTION!Python c,class /classes/ +!_TAG_KIND_DESCRIPTION!Ruby c,class /classes/ +!_TAG_KIND_DESCRIPTION!Asciidoc c,chapter /chapters/ +!_TAG_KIND_DESCRIPTION!Markdown c,chapter /chapters/ +!_TAG_KIND_DESCRIPTION!Pod c,chapter /chapters/ +!_TAG_KIND_DESCRIPTION!ReStructuredText c,chapter /chapters/ +!_TAG_KIND_DESCRIPTION!JSON b,boolean /booleans/ +!_TAG_ROLE_DESCRIPTION!Zsh!function autoloaded /function name passed to autoload built-in command/ +!_TAG_ROLE_DESCRIPTION!Zsh!script autoloaded /autoloaded/ +!_TAG_ROLE_DESCRIPTION!HTML!class attribute /assigned as attributes/ +!_TAG_ROLE_DESCRIPTION!DTD!element attOwner /attributes owner/ +!_TAG_EXTRA_DESCRIPTION anonymous /Include tags for non-named objects like lambda/ +!_TAG_ROLE_DESCRIPTION!Yaml!anchor alias /alias/ +!_TAG_KIND_DESCRIPTION!Go a,talias /type aliases/ +!_TAG_KIND_DESCRIPTION!DTD a,attribute /attributes/ +!_TAG_KIND_DESCRIPTION!TOML a,arraytable /array tables/ +!_TAG_KIND_DESCRIPTION!JSON a,array /arrays/ +!_TAG_KIND_DESCRIPTION!Asciidoc a,anchor /anchors/ +!_TAG_KIND_DESCRIPTION!HTML a,anchor /named anchors/ +!_TAG_KIND_DESCRIPTION!Yaml a,anchor /anchors/ +!_TAG_KIND_DESCRIPTION!Ruby a,alias /aliases/ +!_TAG_KIND_DESCRIPTION!Sh a,alias /aliases/ +!_TAG_KIND_DESCRIPTION!Zsh a,alias /aliases/ +!_TAG_KIND_DESCRIPTION!Go Y,unknown /unknown/ +!_TAG_KIND_DESCRIPTION!Python Y,unknown /name referring a class\/variable\/function\/module defined in other module/ +!_TAG_ROLE_DESCRIPTION!SystemdUnit!unit Wants /referred in Wants key/ +!_TAG_ROLE_DESCRIPTION!SystemdUnit!unit WantedBy /referred in WantedBy key/ +!_TAG_PROGRAM_AUTHOR Universal Ctags Team // +!_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/ +!_TAG_KIND_DESCRIPTION!ReStructuredText T,target /targets/ +!_TAG_KIND_DESCRIPTION!OpenAPI T,tag /tags/ +!_TAG_KIND_DESCRIPTION!Asciidoc T,l4subsection /level 4 sections/ +!_TAG_KIND_DESCRIPTION!Markdown T,l4subsection /level 4 sections/ +!_TAG_KIND_DESCRIPTION!Asciidoc S,subsection /level 2 sections/ +!_TAG_KIND_DESCRIPTION!Man S,subsection /sub sections/ +!_TAG_KIND_DESCRIPTION!Markdown S,subsection /level 2 sections/ +!_TAG_KIND_DESCRIPTION!Pod S,subsection /subsections/ +!_TAG_KIND_DESCRIPTION!ReStructuredText S,subsection /subsections/ +!_TAG_KIND_DESCRIPTION!Ruby S,singletonMethod /singleton methods/ +!_TAG_KIND_DESCRIPTION!Bats S,script /scripts/ +!_TAG_ROLE_DESCRIPTION!SystemdUnit!unit Requires /referred in Requires key/ +!_TAG_ROLE_DESCRIPTION!SystemdUnit!unit RequiredBy /referred in RequiredBy key/ +!_TAG_KIND_DESCRIPTION!OpenAPI R,response /responses/ +!_TAG_KIND_DESCRIPTION!C++ P,partition /partitions/ +!_TAG_KIND_DESCRIPTION!OpenAPI P,parameter /parameters/ +!_TAG_KIND_DESCRIPTION!Go P,packageName /name for specifying imported package/ +!_TAG_KIND_DESCRIPTION!C++ M,module /modules/ +!_TAG_KIND_DESCRIPTION!Go M,anonMember /struct anonymous members/ +!_TAG_KIND_DESCRIPTION!R L,list /lists explicitly created with `list()'/ +!_TAG_KIND_DESCRIPTION!Ruby L,library /libraries/ +!_TAG_KIND_DESCRIPTION!TOML K,qkey /qualified keys/ +!_TAG_KIND_DESCRIPTION!HTML J,script /scripts/ +!_TAG_KIND_DESCRIPTION!Python I,namespace /name referring a module defined in other file/ +!_TAG_KIND_DESCRIPTION!Make I,makefile /makefiles/ +!_TAG_KIND_DESCRIPTION!HTML I,id /identifiers/ +!_TAG_KIND_DESCRIPTION!ReStructuredText H,title /titles/ +!_TAG_KIND_DESCRIPTION!Protobuf G,group /groups/ +!_TAG_KIND_DESCRIPTION!DTD E,entity /entities/ +!_TAG_KIND_DESCRIPTION!Protobuf D,protodef /.proto definition/ +!_TAG_KIND_DESCRIPTION!HTML C,stylesheet /stylesheets/ +!_TAG_KIND_DESCRIPTION!Ruby C,constant /constants/ +!_TAG_KIND_DESCRIPTION!ReStructuredText C,citation /citations/ +!_TAG_ROLE_DESCRIPTION!SystemdUnit!unit Before /referred in Before key/ +!_TAG_ROLE_DESCRIPTION!SystemdUnit!unit After /referred in After key/ +!_TAG_KIND_DESCRIPTION!Ruby A,accessor /accessors/ +!_TAG_PATTERN_LENGTH_LIMIT 96 /0 for no limit/ +!_TAG_PROGRAM_VERSION 6.1.0 /d1ecc51b9/ +!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ +!_TAG_PARSER_VERSION!C 1.1 /current.age/ +!_TAG_PARSER_VERSION!C++ 1.1 /current.age/ +!_TAG_PARSER_VERSION!Make 1.1 /current.age/ +!_TAG_PARSER_VERSION!Markdown 1.1 /current.age/ +!_TAG_PARSER_VERSION!PowerShell 1.1 /current.age/ +!_TAG_PARSER_VERSION!Asm 1.0 /current.age/ +!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ +!_TAG_OUTPUT_VERSION 0.0 /current.age/ +!_TAG_PARSER_VERSION!Asciidoc 0.0 /current.age/ +!_TAG_PARSER_VERSION!Awk 0.0 /current.age/ +!_TAG_PARSER_VERSION!Bats 0.0 /current.age/ +!_TAG_PARSER_VERSION!CSS 0.0 /current.age/ +!_TAG_PARSER_VERSION!DTD 0.0 /current.age/ +!_TAG_PARSER_VERSION!Diff 0.0 /current.age/ +!_TAG_PARSER_VERSION!DosBatch 0.0 /current.age/ +!_TAG_PARSER_VERSION!Go 0.0 /current.age/ +!_TAG_PARSER_VERSION!HTML 0.0 /current.age/ +!_TAG_PARSER_VERSION!Iniconf 0.0 /current.age/ +!_TAG_PARSER_VERSION!JSON 0.0 /current.age/ +!_TAG_PARSER_VERSION!Lua 0.0 /current.age/ +!_TAG_PARSER_VERSION!Man 0.0 /current.age/ +!_TAG_PARSER_VERSION!OpenAPI 0.0 /current.age/ +!_TAG_PARSER_VERSION!Perl 0.0 /current.age/ +!_TAG_PARSER_VERSION!Pod 0.0 /current.age/ +!_TAG_PARSER_VERSION!Protobuf 0.0 /current.age/ +!_TAG_PARSER_VERSION!Python 0.0 /current.age/ +!_TAG_PARSER_VERSION!R 0.0 /current.age/ +!_TAG_PARSER_VERSION!ReStructuredText 0.0 /current.age/ +!_TAG_PARSER_VERSION!RpmSpec 0.0 /current.age/ +!_TAG_PARSER_VERSION!Ruby 0.0 /current.age/ +!_TAG_PARSER_VERSION!SVG 0.0 /current.age/ +!_TAG_PARSER_VERSION!Sh 0.0 /current.age/ +!_TAG_PARSER_VERSION!SystemdUnit 0.0 /current.age/ +!_TAG_PARSER_VERSION!TOML 0.0 /current.age/ +!_TAG_PARSER_VERSION!XML 0.0 /current.age/ +!_TAG_PARSER_VERSION!Yaml 0.0 /current.age/ +!_TAG_PARSER_VERSION!Zsh 0.0 /current.age/ +!_TAG_PROC_CWD /home/yamato/var/ctags-github/ // diff --git a/docs/man/readtags.1.rst b/docs/man/readtags.1.rst index d7160681eb..832c03c81d 100644 --- a/docs/man/readtags.1.rst +++ b/docs/man/readtags.1.rst @@ -36,6 +36,7 @@ ACTIONS ``-D``, ``--list-pseudo-tags`` List pseudo tags. + You can use this option with ``-Q`` option to extract specified pseudo tags. OPTIONS ------- @@ -100,6 +101,8 @@ field. The Output can be tweaked using these options: ``-P``, ``--with-pseudo-tags`` List pseudo tags as if ``-D`` option is specified but continues processing without exiting. + Even if you specify the ``-Q`` and ``-P`` options together, ``-Q`` affects only + regular tags; it doesn't affect pseudo tags. About the ``-E`` option: certain characters are escaped in a tags file, to make it machine-readable. e.g., ensuring no tabs character appear in fields other diff --git a/docs/man/tags.5.rst b/docs/man/tags.5.rst index 5cd41f3ab8..ced16694c5 100644 --- a/docs/man/tags.5.rst +++ b/docs/man/tags.5.rst @@ -526,8 +526,8 @@ Exceptions filename separators. UNIX-like systems use ``/`` for the purpose. On MS Windows, Universal Ctags converts ``\`` in filenames to ``/`` by default. So, generally this condition is satisfied. - Universal Ctags emits several psuedo tags telling whether the condition - is satisfied or not. See :ref:`ctags-client-tools(7) ` about these psuedo tags. + Universal Ctags emits several pseudo tags telling whether the condition + is satisfied or not. See :ref:`ctags-client-tools(7) ` about these pseudo tags. #. "name" part of {tagfield} in a tag generated by Universal Ctags may contain numeric characters, but the first character of the "name" diff --git a/docs/news/HEAD.rst b/docs/news/HEAD.rst index 35b8034358..1acd3f0813 100644 --- a/docs/news/HEAD.rst +++ b/docs/news/HEAD.rst @@ -8,6 +8,15 @@ New and extended options and their flags Incompatible changes --------------------------------------------------------------------- +* [readtags] make -Q,--filter not work on ptags when -P,--with-pseudo-tags is specified together + + With this version, ``-Q,--filter`` option doesn't affect the pseudo tags listed + with ``-P,--with-pseudo-tags`` option. ``-Q,--filter`` option specified wth + ``-P,--with-pseudo-tags`` option affect only regular tags. + + To extract speicifed pseudo tags, use ``-Q,--filter`` option with + ``-D,--list-pseudo`` action. + Parser related changes --------------------------------------------------------------------- @@ -26,6 +35,17 @@ Changes about parser specific kinds, roles, fields, and extras Readtags --------------------------------------------------------------------- +* make formatter work with -D,--list-pseudo-tags option + + An example extracting the value of ``!_TAG_PROC_CWD``: + + .. code-block:: console + + $ ./readtags -t podman.tags -Q '(#/.*CWD.*/ $name)' -F '(list $input #t)' -D + /home/yamato/var/ctags-github/ + +* make -Q,--filter not work on ptags when -P,--with-pseudo-tags is specified together + Merged pull requests --------------------------------------------------------------------- diff --git a/extra-cmds/readtags-cmd.c b/extra-cmds/readtags-cmd.c index 49ba413d59..96da53bf94 100644 --- a/extra-cmds/readtags-cmd.c +++ b/extra-cmds/readtags-cmd.c @@ -59,6 +59,7 @@ enum actionType { ACTION_FIND = 1 << 0, ACTION_LIST = 1 << 1, ACTION_LIST_PTAGS = 1 << 2, + ACTION_LIST_PTAGS_WITH_FILTER = 1 << 3, }; struct actionSpec { @@ -478,9 +479,14 @@ static void listTags (struct inputSpec* inputSpec, bool pseudoTags, tagPrintOpti if (pseudoTags) { + QCode *qualifier = actionSpec->qualifier; + if (!(actionSpec->action & ACTION_LIST_PTAGS_WITH_FILTER)) + actionSpec->qualifier = NULL; + if (tagsFirstPseudoTag (fileX->tagFile, &entry) == TagSuccess) walkTags (fileX, &entry, true, tagsNextPseudoTag, - printPseudoTag, printOpts, + actionSpec->formatter? printTagWithFormatter: printPseudoTag, + actionSpec->formatter? (void *)actionSpec: (void *)printOpts, actionSpec); else if ((err = tagsGetErrno (fileX->tagFile)) != 0) { @@ -489,6 +495,9 @@ static void listTags (struct inputSpec* inputSpec, bool pseudoTags, tagPrintOpti tagsStrerror (err)); exit (1); } + + if (!(actionSpec->action & ACTION_LIST_PTAGS_WITH_FILTER)) + actionSpec->qualifier = qualifier; } else { @@ -746,7 +755,11 @@ static void parseOptions (int argc, char **argv, debugMode++; else if (strcmp (optname, "list-pseudo-tags") == 0 || strcmp (optname, "with-pseudo-tags") == 0) + { actionSpec->action |= ACTION_LIST_PTAGS; + if (optname[0] == 'l') + actionSpec->action |= ACTION_LIST_PTAGS_WITH_FILTER; + } else if (strcmp (optname, "help") == 0) printUsage (stdout, 0); else if (strcmp (optname, "help-expression") == 0) @@ -890,6 +903,8 @@ static void parseOptions (int argc, char **argv, { case 'd': debugMode++; break; case 'D': + actionSpec->action |= ACTION_LIST_PTAGS_WITH_FILTER; + /* fall through */ case 'P': actionSpec->action |= ACTION_LIST_PTAGS; break; diff --git a/man/readtags.1.rst.in b/man/readtags.1.rst.in index 6b8dd46d14..d9b659c5e7 100644 --- a/man/readtags.1.rst.in +++ b/man/readtags.1.rst.in @@ -36,6 +36,7 @@ ACTIONS ``-D``, ``--list-pseudo-tags`` List pseudo tags. + You can use this option with ``-Q`` option to extract specified pseudo tags. OPTIONS ------- @@ -100,6 +101,8 @@ field. The Output can be tweaked using these options: ``-P``, ``--with-pseudo-tags`` List pseudo tags as if ``-D`` option is specified but continues processing without exiting. + Even if you specify the ``-Q`` and ``-P`` options together, ``-Q`` affects only + regular tags; it doesn't affect pseudo tags. About the ``-E`` option: certain characters are escaped in a tags file, to make it machine-readable. e.g., ensuring no tabs character appear in fields other diff --git a/man/tags.5.rst.in b/man/tags.5.rst.in index d2b7eee370..cf3b1e60c3 100644 --- a/man/tags.5.rst.in +++ b/man/tags.5.rst.in @@ -526,8 +526,8 @@ Exceptions filename separators. UNIX-like systems use ``/`` for the purpose. On MS Windows, Universal Ctags converts ``\`` in filenames to ``/`` by default. So, generally this condition is satisfied. - Universal Ctags emits several psuedo tags telling whether the condition - is satisfied or not. See ctags-client-tools(7) about these psuedo tags. + Universal Ctags emits several pseudo tags telling whether the condition + is satisfied or not. See ctags-client-tools(7) about these pseudo tags. #. "name" part of {tagfield} in a tag generated by Universal Ctags may contain numeric characters, but the first character of the "name"