Hi all ANTLR devs,
I am currently working on a scala port of ANTLR, it uses
the Java runtime and the templates are about 95 % the same
as the Java version. I just changed it, to reflect the scala
way of doing things. I have one problem to solve, for which
I need help.
I need to change the order of variable declarations in
classes (e.g. foo_return) and rule parameters (e.g. public
void foo(int x)), because in scala a variable is defined var
name:type (e.g. var foo:Int)).
I found the the correct template,
parameterScope(scope) ::= <<
<scope.attributes:{<it.decl>}; separator=", ">
>>
but i do not know which template <it.decl> calls,
that i need to change.
Christian
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen
Massenmails.
http://mail.yahoo.com
_______________________________________________
antlr-dev mailing list
[email protected]
http://www.antlr.org/mailman/listinfo/antlr-dev