PhoenixmlDb.XQuery

XQueryAstBuilder

Converts an ANTLR parse tree into the XQuery AST node types.

#XQueryAstBuilder

Namespace: PhoenixmlDb.XQuery.Parser

Converts an ANTLR parse tree into the XQuery AST node types.

#Methods

#BuildRelativePathExpression(PhoenixmlDb.XQuery.Parser.Grammar.XQueryParser.RelativePathExprContext,Boolean,PhoenixmlDb.XQuery.Ast.SourceLocation,Boolean)

Builds a path expression from a relative path, properly handling postfix expression steps (parenthesized expressions, function calls, etc.) at any position. When a postfix step appears in the middle of a path (e.g., A/(expr)/B), it is converted to a SimpleMapExpression mapping operation.