1Perl::Tags::Tag(3)    User Contributed Perl Documentation   Perl::Tags::Tag(3)
2
3
4
5   "new"
6       Returns a new tag object
7
8   "type", "modify_options"
9       Abstract methods
10
11   "to_string"
12       A tag stringifies to an appropriate line in a ctags file.
13
14   "on_register"
15       Allows tag to meddle with process when registered with the main tagger
16       object.  Return false if want to prevent registration (e.g. for control
17       tags such as "Perl::Tags::Tag::Recurse".)
18

"Perl::Tags::Tag::Package"

20   "type": p
21   "modify_options"
22       Sets static=0
23
24   "on_register"
25       Sets the package name
26

"Perl::Tags::Tag::Var"

28   "type": v
29   "on_register"
30               Make a tag for this variable unless we're told not to.  We
31               assume that a variable is always static, unless it appears
32               in a package before any sub.  (Not necessarily true, but
33               it's ok for most purposes and Vim works fine even if it is
34               incorrect)
35                   - pltags.pl comments
36

"Perl::Tags::Tag::Sub"

38   "type": s
39   "on_register"
40               Make a tag for this sub unless we're told not to.  We assume
41               that a sub is static, unless it appears in a package.  (Not
42               necessarily true, but it's ok for most purposes and Vim works
43               fine even if it is incorrect)
44                   - pltags comments
45

"Perl::Tags::Tag::Constant"

47   "type": c

"Perl::Tags::Tag::Label"

49   "type": l

"Perl::Tags::Tag::Recurse"

51   "type": dummy
52       This is a pseudo-tag, see "register" in Perl::Tags.
53
54   "on_register"
55       Recurse adding this new module to the queue.
56
57
58
59perl v5.32.0                      2020-07-28                Perl::Tags::Tag(3)
Impressum