1MDOM::Token(3)        User Contributed Perl Documentation       MDOM::Token(3)
2
3
4

NAME

6       MDOM::Token - A single token of Makefile source code
7

INHERITANCE

9         MDOM::Token
10         isa MDOM::Element
11

DESCRIPTION

13       "MDOM::Token" is the abstract base class for all Tokens. In MDOM terms,
14       a "Token" is a MDOM::Element that directly represents bytes of source
15       code.
16
17       The implementation and POD are borrowed directly from PPI::Token.
18

METHODS

20   set_content $string
21       The "set_content" method allows to set/change the string that the
22       "MDOM::Token" object represents.
23
24       Returns the string you set the Token to
25
26   add_content $string
27       The "add_content" method allows you to add additional bytes of code to
28       the end of the Token.
29
30       Returns the new full string after the bytes have been added.
31
32   length
33       The "length" method returns the length of the string in a Token.
34
35   source
36       Returns the makefile source for the current token
37
38
39
40perl v5.12.0                      2008-03-10                    MDOM::Token(3)
Impressum