INHERITANCE

  MDOM::Token
  isa MDOM::Element

DESCRIPTION

\*(C`MDOM::Token\*(C' is the abstract base class for all Tokens. In \s-1MDOM\s0 terms, a \*(L"Token\*(R" is a MDOM::Element that directly represents bytes of source code.

The implementation and \s-1POD\s0 are borrowed directly from PPI::Token.

METHODS

The \*(C`set_content\*(C' method allows one to set/change the string that the \*(C`MDOM::Token\*(C' object represents.

Returns the string you set the Token to The \*(C`add_content\*(C' method allows you to add additional bytes of code to the end of the Token.

Returns the new full string after the bytes have been added.

length

The \*(C`length\*(C' method returns the length of the string in a Token.

source

Returns the makefile source for the current token