Directory groovy/groovy-core/src/main/org/codehaus/groovy/antlr/treewalker/

Directory Created:
2005-06-29 23:48
Total Files:
11
Deleted Files:
0
Lines of Code:
4438

Browse with ViewVC

[root]/groovy/groovy-core/src/main/org/codehaus/groovy/antlr/treewalker

Lines of Code

groovy/groovy-core/src/main/org/codehaus/groovy/antlr/treewalker/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 115 (100.0%) 5149 (100.0%) 44.7
jez 93 (80.9%) 5089 (98.8%) 54.7
paulk 11 (9.6%) 29 (0.6%) 2.6
blackdrag 7 (6.1%) 28 (0.5%) 4.0
cstein 1 (0.9%) 3 (0.1%) 3.0
mguillem 3 (2.6%) 0 (0.0%) 0.0

Most Recent Commits

paulk 2007-03-11 06:35

add initial NodePrinterTest

4 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/antlr/treewalker: Visitor.java (+4 -4)
paulk 2007-03-11 02:02

add initial CompositeVisitorTest

1 lines of code changed in:

paulk 2007-03-11 01:17

add MindMapPrinterTest plus remove some duplication

3 lines of code changed in:

paulk 2007-03-10 12:37

additional test

9 lines of code changed in:

jez 2007-01-15 21:33

* Added comments to some of the SourcePrinterTests

o '// not in java' - those bits of syntax which are uniquely groovy

o '// fails after parser' - those bits of syntax which parse in antlr but fail somewhere onwards, these are copied to UnimplementedSyntaxTest.java



* Added UnimplementedSyntaxTest.java which has assertions on the failure of a number of language

features in the parser but vocal in their failure below the parser (i.e. error messages)

[ silent ignoring of syntax features are not included, e.g. the current usage of annotations in bytecode ]



* Added SPREAD_DOT (*.) operator to pretty printer, whoops missed this one in 1.0



Cheers



Jez

6 lines of code changed in:

jez 2006-12-21 19:32

Finally... finished going through every token type the parser can

handle. Tests for every token type that can occur on the AST.

This means the SourceCodeTraversal class is complete (barring edge cases)



* Added better cast handling (casting to arrays), type args, type params,

lower and upper bounds for type arg/params, variable arity parameter.





Try this...



$ export JAVA_OPTS=-Dantlr.ast=html

$ groovyc MyExample.groovy

$ open MyExample.groovy.html # then oooh and ahhhh :-)





Enjoy :-)



Jez.

46 lines of code changed in:

paulk 2006-12-21 12:00

change grammar to use ClosableBlock instead of mixed ClosedBlock/Closure

12 lines of code changed in:

jez 2006-12-15 20:24

* added to pretty printer <<= >> >>= *= ** **=

spread arguments (f(*list)), spread map arguments (f(*:myMap))

super(), unary plus



* more tests for above and static initializers,

strictfp, string literals, and gstrings



39 lines of code changed in:

jez 2006-12-14 19:26

added ==~ .@ << to pretty printer

added tests for =~ ==~ .@ << and SLIST



30 lines of code changed in:

jez 2006-12-13 19:48

Added regex_find =~ to pretty printer

Added more tests for parameters, range exclusive, regex literals.

Marked a couple of deprecated items in the grammar

10 lines of code changed in:

jez 2006-12-08 19:23

Added even more to pretty printer:

parameters, float literals, long literals,

modifiers, strictfp, with, volatile, transient,

threadsafe, synchronized blocks, switch,

-= % %= ?. += ++ ?:

Fixed wildcards and

type argument bounds (i.e. <? extends F> and <? super F> )



94 lines of code changed in:

jez 2006-12-08 06:22

dded to pretty printer:

implements, import, in, interface,

long, native!, new, package, return,

short, static, super, synchronized,

this, static imports.

52 lines of code changed in:

jez 2006-12-06 23:00

Added tests and functionality to pretty printer for:

enum, interface, implements,

implicit parameters,

instance initialiser,

labeled statements,

++, <=, any, as, assert, break,

byte, case, catch, char,

class, continue, def, default,

double, else, extends, for.



77 lines of code changed in:

jez 2006-10-18 15:08

* Added GE to source printer

* Added tests for GE (>=) and one form of Hex Digit literal



9 lines of code changed in:

blackdrag 2006-10-10 17:09

MOP preparations: a new typehandling package contains now the number math classes and many methods from Invoker. ScriptBytecodeAdapter and InvokerHelper do now use these functions. The bytecode is changed to provide an additional "sender class" that can be used later for handling visibility. As part of the clean up AsmClassGenerator has been changed and got a unified way for method calling Object gained a iterator() method, that was before implicitly handled by Invoker.



The wrong property name for the conf file in GroovyStarter is corrected now. The error reporting has been adjusted to show exceptions better.



Interfaces of the kind "interface T{ T t}" are now possible and no longer resulting in class loading problems

1 lines of code changed in:

mguillem 2006-08-30 08:18

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

0 lines of code changed in:

jez 2006-08-23 08:40

* Added literal 'final' to pretty printer

* Added tests for annotation, final, classic for loop, double literals and float literals

* Added reminder for wildcard type arguments

7 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/antlr/treewalker: SourcePrinter.java (+7 -1)
jez 2006-08-07 09:26

* fixed ENUM_CONSTANT_DEF to allow for expressions e.g. Penny(1),Quarter(25)

* added interface definitions

* added double literals, including exponents

19 lines of code changed in:

jez 2006-08-01 10:35

* added classic for loop, POST_INC(++) and enum definitions to pretty printer

* added some more tests for ELIST

31 lines of code changed in:

jez 2006-07-31 18:22

* added DYNAMIC_MEMBER to pretty printer

* modified METHOD_CALL to allow for 'commands' e.g. "println 2 + 2" instead of "println(2+2)"

* added more test cases for DOT

12 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/antlr/treewalker: SourcePrinter.java (+12 -1)

(27 more)

Generated by StatSVN 0.3.2-SNAPSHOT