Sha256: d64ee36fc6050bc20157bdefb69812809a80938b25bb4cf013d621a27dab800b

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 KB

Contents

#!/bin/sh

# Copyright: 2016 Masatake YAMATO
# License: GPL-2

READTAGS=$4

#V="valgrind --leak-check=full -v"
V=

if ! [ -x "${READTAGS}" ]; then
    echo "no readtags"
    eixt 77
fi

if ! ( "${READTAGS}" -h | grep -q -e -Q ); then
    echo "no qualifier function in readtags"
    exit 77
fi

echo ';; (suffix? $name "q")' &&
${V} ${READTAGS} -e -t output.tags -Q '(suffix? $name "q")' -l &&
echo ';; (and (eq? $kind "member") (eq? "Baz" $scope-name))' &&
${V} ${READTAGS} -e -t output.tags -Q '(and (eq? $kind "member") (eq? "Baz" $scope-name))' -l &&
echo ';; (and (eq? $kind "member") (substr? $name "."))' &&
${V} ${READTAGS} -e -t output.tags -Q '(and (eq? $kind "member") (substr? $name "."))' -l &&
echo ';; (and (member "Foo" $inherits) (eq? $kind "class"))' &&
${V} ${READTAGS}  -e -t output.tags -Q '(and (member "Foo" $inherits) (eq? $kind "class"))' -l &&
echo ';; (not ($ "signature"))' &&
${V} ${READTAGS}  -e -t output.tags -Q '(not ($ "signature"))' -l &&
echo ';; (< 1 2)' &&
${V} ${READTAGS}  -e -t output.tags -Q '(< 1 2)' -l &&
:

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ctags.rb-1.1.4 ext/vendor/ctags/Tmain/readtags-qualifier.d/run.sh
ctags.rb-1.1.3 ext/vendor/ctags/Tmain/readtags-qualifier.d/run.sh