Text::Amuse::Element - Helper for Text::Amuse
Everything here is pretty much internal only, underdocumented and subject to change.
Constructor. Accepts a string to be parsed
Accessor to the raw input line
Attribute to mark if an element cannot be further merged
The following accessors set the value if an argument is provided.
The block the string belongs
The type
The string (without the indentation or the leading markup)
The portion of the string stripped out
The indentation level, as a numerical value
Return true if the element is a "startblock" of the required block name
Return true if the element is a "stopblock" of the required block name
Return true if the element is "regular", i.e., it just have trailing white space
Return true if the element will merge the next one
Return true if the element will merge the next one. Only regular strings.
Return true if the element can be inside a list
Return true if the element is quote, center, right
Append (just concatenate) the given strings to the string attribute.
To install Text::Amuse, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Amuse
CPAN shell
perl -MCPAN -e shell install Text::Amuse
For more information on module installation, please visit the detailed CPAN module installation guide.