The element is the most basic object created by the lexer. In their simplest form, elements are essentially objective representations of tokens. The elements are then arranged in a DOM-like tree which is then executed. The process of creating elements is done during the "construction" stage and is handled by the constructor.
Most elements are categorized through heredity. The simplest parent element is the node; normal elements cannot encapsulate others.
Returns the parent element or
undef if it is a root element. Usually, all
elements except perhaps documents will have a parent.
Returns a string representing the element's type.
Returns a string describing the element. This is human-readable and more
detailed than the value of the
Class 'Person' version 2.5,
Class method 'new'.
Conveniently returns true if the element is a node.