Directory groovy/groovy-core/src/main/org/codehaus/groovy/syntax/

Directory Created:
2003-09-11 15:11
Total Files:
15
Deleted Files:
6
Lines of Code:
3844

Browse with ViewVC

[root]/groovy/groovy-core/src/main/org/codehaus/groovy/syntax

                                    Folder removed from repo lexer (0 files, 0 lines)

                                    Folder removed from repo parser (0 files, 0 lines)

Lines of Code

groovy/groovy-core/src/main/org/codehaus/groovy/syntax/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 112 (100.0%) 6383 (100.0%) 56.9
cpoirier 12 (10.7%) 3004 (47.1%) 250.3
jstrachan 60 (53.6%) 2874 (45.0%) 47.9
bob 11 (9.8%) 120 (1.9%) 10.9
jez 2 (1.8%) 118 (1.8%) 59.0
spullara 4 (3.6%) 107 (1.7%) 26.7
phk 3 (2.7%) 68 (1.1%) 22.6
blackdrag 10 (8.9%) 59 (0.9%) 5.9
goetze 2 (1.8%) 15 (0.2%) 7.5
bran 2 (1.8%) 9 (0.1%) 4.5
zohar 1 (0.9%) 5 (0.1%) 5.0
mguillem 4 (3.6%) 4 (0.1%) 1.0
alang 1 (0.9%) 0 (0.0%) 0.0

Most Recent Commits

mguillem 2006-08-30 08:18

fixed most of the warnings reported by Eclipse (javadoc, unused imports, ...)

4 lines of code changed in:

blackdrag 2006-06-15 21:42

with this change groovy now resolves import statments to classes if a full class name is given. If the resolving failes, the class generation fails. This should ensure that there are no surprises if a class is imported.

6 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax: ASTHelper.java (+6 -5)
alang 2005-12-17 08:39

Fixed SourceUnit.failedWithUnexpectedEOF() to correctly recognise incomplete source, allowing the InteractiveShell to be a bit more useful - GROOVY-472 and GROOVY-1021

Removed UnexpectedTokenException class as it does not appear to be used any longer.

0 lines of code changed in:

blackdrag 2005-11-13 17:42

this committ removes the class org.codehaus.groovy.ast.Type completely and transferes its functuanality to ClassNode and ClassHelper. A ClassNode can now be a primitive type or any other type created with an class file available. ClassNodes can now be primary, which means they are the a result of a class definiton in a file - unlike a ClassNode created from a Class. All phases till actual class creation should work on ClassNode instead of Class. So all Class handling code in ACG is transformed to ahndle ClassNode instead. A ClassNode can contain a redirect now. This is used when multiple names point to the same ClassNode. This mechanism was used instead of a replacing like with the Type class. This was needed because all class resolving code is transfered into a single phase right after creation of the groovy ast and to avoid creation of huge amounts of code to replace a ClassNode in statements and expressions.

The Compiler is now able to enqueue source files. This means when ever a compiler phase found out it is necessary to compile another source file it can put this file into the compiler using the addSource method of CompilationUnit and leave the rest to the compiler. The compiler will then go back to the initialization phase and proceed to the goal phase ignoring all already handled files but the new added file.

10 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax: ASTHelper.java (+10 -31)
jez 2005-09-22 15:56

* Added a compilationUnit.isPublicClass(String) method that enables you

to determine if the given class is known to be available



* this is the first stage of getting early type resolution in the parser, I hope

118 lines of code changed in:

blackdrag 2005-09-12 20:51

This patch removes many string descriptons of types from the class generator and enfocres the usage of the class Type instead. A new interface is introduced for nodes which are possible variables

5 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax: ASTHelper.java (+5 -3)
blackdrag 2005-07-14 14:54

a try to enable compiling circular references

5 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax: ASTHelper.java (+5 -2)
blackdrag 2005-06-13 15:10

another fall through (the last I hope)

2 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax: ASTHelper.java (+2)
blackdrag 2005-06-13 15:03

another fall through was needed

2 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax: ASTHelper.java (+2)
blackdrag 2005-06-13 14:28

added a fall through to avoid collision of variable names with class names (example "import org.codehaus.groovy.ast.; def classNode" collides with org.codehaus.groovy.ast.ClassNode and throws a NoClassDef instead a ClassNotFound

2 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax: ASTHelper.java (+2)
blackdrag 2005-06-13 11:23

added some fall throughs fpr NoClassDefFound problems and avoid to return a null class

3 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax: ASTHelper.java (+3 -1)
blackdrag 2005-06-13 10:31

enables groovy to give compilation errors for dependent scripts

24 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax: ASTHelper.java (+24 -10)
blackdrag 2005-04-14 09:46

a first try to implement some simple scope checks and some modified tests

0 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.

366 lines of code changed in:

phk 2005-02-23 20:59

Change the operator precedence of the power opertor **. For example, assert -x**2 == -(x**2)

3 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax: Types.java (+3 -3)
phk 2005-02-23 18:06

Support power operations ** and **= (for example, x = 2**3; x **= 2 )

19 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax: Types.java (+19 -8)
phk 2005-02-21 18:11

Support bitwise operations &, |, ^, ~, =&, =|, =^, <<=, >>=. and >>>=.

46 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax: Types.java (+46 -4)
jstrachan 2005-02-18 14:46

added operator support for <<= and >>=

needs wiring into runtime though

3 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax: Types.java (+3)
jstrachan 2005-02-14 19:28

Got all of the classic test cases ported over (apart from those which hit a parser bug). They don't all work yet - am waiting until the parser bugs are fixed first :)

3 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax: Types.java (+3)
jstrachan 2005-02-01 20:40

Added better exception handling to report errors in the Antlr plugin and AST validation through the control framework

13 lines of code changed in:

(46 more)

Generated by StatSVN 0.3.2-SNAPSHOT