![]() |
JSwat ProjectHow to Change the Parser |
The Java language scanner and parser are used to determine the
class package name, class locations within a source file, and to
colorize the source code when displayed in the source viewer. The
parser definition is given by the file j11.sablecc
in
the parser
directory. As you can probably guess, you
need SableCC to process this
file.
There should be no reason to change the parser definition unless
the Java language specification changes. But, if such changes are
needed, the generated files must go in the
com/bluemarsh/jswat/parser/java
directory.