[root]/groovy/ide/groovy-eclipse/org.codehaus.groovy.eclipse.core.test/src/org/codehaus/groovy/eclipse/core/compiler
Error recovery. Custom parser plugins and modified Groovy grammar to deal with common case of a dangling '.'. a. a?. a[10]. a._ { and so on.
The recovered CST can be used to build an AST. The resulting AST will have quirks, but is usuable for code completion.
Sources generated from the modified grammar are included so no one has to mess around with Antlr etc.
Completion now works in Groovy scripts.
Plugin now exports groovy-1.0.jar, antlr-2.7.5.jar, asm-2.2.jar, asm-tree.2.2.jar - required for error recovering parser.
204 lines of code changed in:
Updated compiler test, and contexts factory tests for new compiler API.
83 lines of code changed in:
More Java 1.5 -> 1.4 changes.
3 lines of code changed in:
Changed StringBuilder to StringBuffer for 1.4 compatibility
1 lines of code changed in:
Initial cut of code completion support code. Completion expression finder, type evaluator,
various lookup interfaces, etc, etc.
0 lines of code changed in: