[root]/groovy/ide/groovy-eclipse/org.codehaus.groovy.eclipse.core/src/org/codehaus/groovy/eclipse/core/compiler/internal
antlr
(4 files, 20234 lines)
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.
166 lines of code changed in:
Refactored GroovyCompiler into IGroovyCompiler + configuration interfaces. Updated test cases and other dependent code in *.core.
95 lines of code changed in: