JavaCC-based implementation for XPath expression Abstract Syntax
Tree nodes.
May be overridden by implementation-specific versions.
Internal representation
An expression can be encoded through three differents internal
representations: the compact representation, the normalized
representation and the editable representation:
- The compact representation
minimizes the number of AST nodes for encoding expressions, even though
abbreviated expressions are fully expanded.
- The editable representation
encodes accurately the initial expression, without any loss of
formatting information (like the use of abbreviated expressions,
parenthesis, etc..). This representation is very useful in authoring
environment.
- The normalized representation
corresponds to the definition given in the XPath
2.0/XQuery 1.0 formal semantics.
Note: the editing and normalized representations are unimplemented.