1PPI::Token::Word(3) User Contributed Perl Documentation PPI::Token::Word(3)
2
3
4
6 PPI::Token::Word - The generic "word" Token
7
9 PPI::Token::Word
10 isa PPI::Token
11 isa PPI::Element
12
14 A "PPI::Token::Word" object is a PPI-specific representation of several
15 different types of word-like things, and is one of the most common
16 Token classes found in typical documents.
17
18 Specifically, it includes not only barewords, but also any other valid
19 Perl identifier including non-operator keywords and core functions, and
20 any include "::" separators inside it, as long as it fits the format of
21 a class, function, etc.
22
24 There are no methods available for "PPI::Token::Word" beyond those pro‐
25 vided by its PPI::Token and PPI::Element parent classes.
26
27 We expect to add additional methods to help further resolve a Word as a
28 function, method, etc over time.
29
31 - Add "function", "method" etc detector methods
32
34 See the support section in the main module.
35
37 Adam Kennedy <adamk@cpan.org>
38
40 Copyright 2001 - 2006 Adam Kennedy.
41
42 This program is free software; you can redistribute it and/or modify it
43 under the same terms as Perl itself.
44
45 The full text of the license can be found in the LICENSE file included
46 with this module.
47
48
49
50perl v5.8.8 2006-09-23 PPI::Token::Word(3)