Directory groovy/groovy-core/src/test/org/codehaus/groovy/syntax/parser/

Directory Created:
2003-09-11 15:11
Total Files:
1
Deleted Files:
7
Lines of Code:
56

Browse with ViewVC

[root]/groovy/groovy-core/src/test/org/codehaus/groovy/syntax/parser

Lines of Code

groovy/groovy-core/src/test/org/codehaus/groovy/syntax/parser/ Lines of Code

Developers

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

Most Recent Commits

paulk 2007-04-04 06:37

reformat test code

4 lines of code changed in:

jstrachan 2005-04-14 09:36

added old test case

58 lines of code changed in:

jstrachan 2005-04-12 16:05

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:

jez 2005-04-05 07:44

* 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:

blackdrag 2005-04-05 00:08

at the moment we don't support the CompilationFailedException exception

6 lines of code changed in:

glaforge 2005-04-04 22:46

- 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:

jez 2005-04-04 07:48

* 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:

jstrachan 2005-03-31 14:02

first cut at getting the interactive console working with the JSR parser

25 lines of code changed in:

  • groovy/groovy-core/src/test/org/codehaus/groovy/syntax/parser: ParserTest.java (+25 -3)
jstrachan 2005-03-02 09:23

updated the test cases to use JSR parser syntax

0 lines of code changed in:

cpoirier 2004-09-03 05:04

Fixed bug that caused the parser to hang on unterminated GStrings.

30 lines of code changed in:

jstrachan 2004-07-13 15:37

added validation checks for variable, property & field names

9 lines of code changed in:

jstrachan 2004-05-17 16:00

Applied patch from Mark Chu-Carroll for GROOVY-422 - many thanks Mark!

1 lines of code changed in:

goetze 2004-05-12 21:52

Check that return expressions are not used for methods that return void

5 lines of code changed in:

cpoirier 2004-04-19 08:29

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:

cpoirier 2004-04-06 11:07

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:

  • groovy/groovy-core/src/test/org/codehaus/groovy/syntax/parser: ASTBuilderTest.java (+86 -13)
cpoirier 2004-04-01 07:21

Overhaul of Groovy parser and lexer. Includes numerous bug fixes, enhancements,

and changes.

22 lines of code changed in:

jstrachan 2004-03-14 23:20

Fix for GROOVY-57 and for the super.methodCall() issues

4 lines of code changed in:

cpoirier 2004-03-11 09:47

Implemented parser/cst support for "import package.*;" and

"import package.class, class;" statements.

20 lines of code changed in:

  • groovy/groovy-core/src/test/org/codehaus/groovy/syntax/parser: ParserTest.java (+20 -51)
jstrachan 2004-03-05 13:00

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:

jstrachan 2004-02-26 18:46

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:

  • groovy/groovy-core/src/test/org/codehaus/groovy/syntax/parser: ParserTest.java (+56 -25)

(41 more)

Generated by StatSVN 0.3.2-SNAPSHOT