How to use this package
All Java code in this package is generated using JavaCC tool
from .jj files. It used to exist at
Metamata WWW pages.
Developer needs to postprocess generated files by erasing
all generated *Stream classes and sources. All .jj
grammars import lib subpackage which contains proper
implementation of these interfaces/classes.
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.)
|