[Jastadd] [Q] undocumented features of JastAdd

From: Na, Hyunik <hina_at_kaist.ac.kr>
Date: Fri, 16 Mar 2012 13:58:34 +0900

Hello JastAdd developers,

 

I found the following line in the declaration of "interface GenericTypeDecl"
in Java1.5Frontend/Generics.jrag

 

           sons BodyDecl:BodyDecl* TypeParameter:TypeVariable*
ParTypeDecl:ParTypeDecl*;

 

of which I could only guess the meaning.

"sons" seems to be an undocumented feature of JastAdd.

(There is no explanation in the reference manual
http://jastadd.org/web/documentation/reference-manual.php )

 

In addition, refined() used in a refine clause and childIndex (e.g. ones
used in TypeDecl.getBodyDecl().enclosingInstance() in
Java1.4Frontend/TypeCheck.jrag)

seem to be predefined keywords in JastAdd, but they are not explained in the
manual.

Though the meanings of refined() and childIndex are rather clear from the
contexts,

I think it would be better to explain them in the manual.

 

Cheers

 

- Hyunik
Received on Fri Mar 16 2012 - 05:59:28 CET

This archive was generated by hypermail 2.3.0 : Wed Apr 16 2014 - 17:19:06 CEST