[root]/groovy/groovy-core/src/test/org/codehaus/groovy/syntax/parser
| Author | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| Totals | 87 (100.0%) | 2763 (100.0%) | 31.7 |
| jstrachan | 67 (77.0%) | 2421 (87.6%) | 36.1 |
| cpoirier | 10 (11.5%) | 188 (6.8%) | 18.8 |
| glaforge | 2 (2.3%) | 74 (2.7%) | 37.0 |
| bob | 3 (3.4%) | 60 (2.2%) | 20.0 |
| blackdrag | 1 (1.1%) | 6 (0.2%) | 6.0 |
| jez | 2 (2.3%) | 5 (0.2%) | 2.5 |
| goetze | 1 (1.1%) | 5 (0.2%) | 5.0 |
| paulk | 1 (1.1%) | 4 (0.1%) | 4.0 |
reformat test code
4 lines of code changed in:
added old test case
58 lines of code changed in:
Moved the classic parser out into a separate module (groovy/modules/classic) to avoid distributing code with folks using the JSR. Moved the old classic test cases over too to avoid us getting mixed up.
0 lines of code changed in:
* Fix issue when you have a bare 'return' statement
- the AntlrParserPlugin no longer assumes that the expression to return is a sibling of the return statement
as this could in fact be the 'else' part in an if statement.
i.e.
if (something.isTrue())
return
else
statement1
// in the example above it used to attempt to do 'return statement1' which could be an error
4 lines of code changed in:
at the moment we don't support the CompilationFailedException exception
6 lines of code changed in:
- made the build actually build
- fixed some bugs and missing def keywords
- commented some tests (like the standard jdk5 for loop) since it's been outlawed
- there seems to be some problem of exception thrown by antlr instead of CompilationFailedException
74 lines of code changed in:
* Fixed another test
- fixed. groovy classes that extended fully qualified interfaces were not being converted into GroovyAST correctly
- amended. method declarations can no longer begin with fully qualified type names, this is the
downside to the upper/lowercase knife edge used to determine if something is a declaration
or statement in the grammar. I could forsee problems if you needed to fully qualify a type as a return
from a method due to having two of those types from your current imports
e.g.
import java.util.List
import java.awt.List
...
List foo() {...
^
Issue here as we can no longer fully qualify this return!
1 lines of code changed in:
first cut at getting the interactive console working with the JSR parser
25 lines of code changed in:
updated the test cases to use JSR parser syntax
0 lines of code changed in:
Fixed bug that caused the parser to hang on unterminated GStrings.
30 lines of code changed in:
added validation checks for variable, property & field names
9 lines of code changed in:
Applied patch from Mark Chu-Carroll for GROOVY-422 - many thanks Mark!
1 lines of code changed in:
Check that return expressions are not used for methods that return void
5 lines of code changed in:
Centralized compilation management and error handling.
Compilation is now managed by SourceUnit and CompilationUnit objects to which errors
are reported. CompilerConfiguration provides a single object for controlling compiler
configuration. CompilationFailedException is thrown for any compilation failures, and
links back to the CompilationUnit and SourceUnit that discovered the problem and that
house the error messages. These objects all reside in org.codehaus.groovy.control.
30 lines of code changed in:
Merged in second patch from Brian Larson for GROOVY-256. Also changed things
so that the negation of numeric literals is done at parse time. This means
that numeric literals can use the full range of the specified type.
86 lines of code changed in:
Overhaul of Groovy parser and lexer. Includes numerous bug fixes, enhancements,
and changes.
22 lines of code changed in:
Fix for GROOVY-57 and for the super.methodCall() issues
4 lines of code changed in:
Implemented parser/cst support for "import package.*;" and
"import package.class, class;" statements.
20 lines of code changed in:
Applied parser changes from Chris which include...
further refactoring/cleanup of the parser, added
(parser-/ast-only) support for labels, added (untested,
parser-/ast-only) support for defaulted parameters, changes to the
handling of blocks, and the wiring-up of the error handling system for
the Groovyc Ant task.
29 lines of code changed in:
Applied patches kindly submitted by Chris Poirier to refactor the code, add better warning level support to the compiler and to document the code.
Details from Chris....
Multiple error handling is in place, but not fully completed. It works
best in the parsing phase, but I'm only about half-way through an
overhaul of the parser code. I've fixed about a dozen bugs in the
parser, and refactored a lot of the code. I've added parser (only)
support for nested classes, static initializers, and interfaces. I'll
continue with the process tonight.
The FileSystemCompiler has a new flag, --exception, that can be used to
output full stack traces for exceptions. By default, only uncaught
exceptions will get the full report. The code that outputs the line on
which the error occurred will probably only work with invokations
through the FileSystemCompiler, and I don't know exactly how well
CompilerFacade will currently behave.
56 lines of code changed in:
(41 more)