[root]/groovy/groovy-core/src/test/org/codehaus/groovy/syntax
lexer
(0 files, 0 lines)
parser
(1 files, 56 lines)
reformat test code
2 lines of code changed in:
Introducing JMock 1.0.1 for testing.
Added first (and way too simple) GroovyServlet test case to the new UberTestCase4, which collects all text, servlet and other template related test cases. Moved single test case from UTC2 to UTC4.
Updated Eclipses ".classpath". It now includes the "src/test" directory. Of course, it needs a successful Maven build run, that generates the "target/test-classes" directory.
Removed not used imports from some test cases.
0 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:
updated the test cases to use JSR parser syntax
0 lines of code changed in:
Overhaul of Groovy parser and lexer. Includes numerous bug fixes, enhancements,
and changes.
33 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.
3 lines of code changed in:
refactor the parser exception tree to have better error information, particularly lines etc
1 lines of code changed in:
Added parser support for optional parenthesis when calling methods with at least one parameter
9 lines of code changed in:
A fix for GROOVY-7 at last! Who-hoo we can release beta-1 real soon.
Basically the 'property' keyword is now deprecated (though we'll continue to support it up until 1.0 proper release)
Now there is no difference between a property & field; they're essentially the same thing. Also property initializers now work fine.
5 lines of code changed in:
First cut of the parser refactorings to handle newlines cleanly so that we can make newlines part of the synatx - such as to differentiate between method declarations and non-typed fields etc.
2 lines of code changed in:
Minor refactor - moved the AntBuillder and GroovyMBean classes into the groovy.util package to make the groovy APIs simpler to use.
Also cleaned up the javadoc somewhat ensuring there's a package descriptor for each package
2 lines of code changed in:
Fix for GROOVY-18.
:= has gone away, in favour of == for EQUALITY testing.
==, which previously meant IDENTITY testing has, as noted immediately
above, has become an EQUALITY test.
So, to do IDENTITY testing, you need === (yes, that's right, 3 of'em).
Three equals, ===, for IDENTITY testing.
Two for EQUALITY.
There is no :=
Hi mom.
2 lines of code changed in:
refactored code so that groovy.lang is the core package available to groovy scripts which is implicitly imported
4 lines of code changed in:
Closures!
10 lines of code changed in:
Range expressions.
10 lines of code changed in:
Adding constant support. Still fails on CompilerBugs
17 lines of code changed in:
refactored the source tree to make things a little cleaner.
now have the more normal src/main and src/test trees
732 lines of code changed in: