How to use this package

All Java code in this package is generated using JavaCC tool from .jj files.

The generated java code can be regenerated by running the javacc-syntax target.

This solution is not clean but current JavaCC and editor module does not support better solution. Look for lexer.netbeans.org that should provide stream based lexical analysis for editor that is more suitable for JavaCC generated code.

XMLSyntax uses more general state stack than DTDSyntax integer array. (It can be easily copy pasted to DTDSyntax shared text section.)