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.
- to be defined: parser extension point.