Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

XQuery Development Tools/Extension points

This page describes XQDT extension points.

Customizing lexer and parser

XQDT provides a tokenizer and an ad-hoc incremental parser for the XQuery family languages standardized (or being standardized) by the W3C. Vendors-specific language extension can be achieved by providing vendor-specific lexer and parser, using the following extension points:

- org.eclipse.wst.xquery.sse.core.tokenizer: XQuery tokenizer. Must implement ITokenizer. XQDT tokenizer is based on JFlex. Since JFlex does not come with a extension mechanism, one solution is for each vendor to change directly the base tokenizer and to manually patch any changes.

- org.eclipse.wst.xquery.sse.core.modelBuilder: incremental XQuery parser responsible for updating the model (AST).

Back to the top