|
|||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
DeclScannerTokenTypes | |
XQueryTokenTypes | |
XQueryTreeParserTokenTypes |
Class Summary | |
---|---|
DeclScanner | Try to read the XQuery declaration. |
XQueryAST | |
XQueryLexer | The XQuery/XPath lexical analyzer. |
XQueryParser | eXist parses an XQuery expression in (currently) 4 phases:
1) lexical analysis in XQueryLexer
2) syntax analysis and construction of an intermediate AST (abstract
syntax tree) in XQueryParser
3) analysis of the intermediate AST, and construction of the executable XQuery
expression tree from the intermediate AST in XQueryTreeParser
4) static analysis of the final expression tree
The grammar in XQuery.g corresponds to phase 2. |
XQueryTreeParser | The tree parser: walks the AST created by XQueryParser and generates
an internal representation of the query in the form of XQuery expression objects. |
The XQuery/XPath language parser. The classes in this package were generated with ANTLR (http://www.antlr.org). The original source files are XQuery.g and XQueryTree.g. To regenerate the Java source files, call Ant with the build target "xquery".
|
|||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |