01: package tide.syntaxtree;
02:
03: import japa.parser.ast.CompilationUnit;
04:
05: public final class ParserResult {
06: public CompilationUnit compilationUnit = null;
07: public String errorMessage;
08: public int line, column;
09:
10: public ParserResult(CompilationUnit compilationUnit) {
11: this .compilationUnit = compilationUnit;
12: }
13:
14: public void terminate() {
15: // go deeper to help GC ? only if heap analysis tell us
16: compilationUnit = null;
17: }
18:
19: }
|