[gcjx] Make model_element abstract and expand visitor interface

Ranjit Mathew rmathew@gmail.com
Tue Oct 11 04:14:00 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

  Now that the kludgy use of model_element in the parser is gone,
I made model_element::visit() abstract, removed its implementation
from model/element.cc and expanded the visitor interface to cover
the model elements that need it now.

Once again, I have only tried to cover as many model elements as
was needed to cleanly compile stuff and there still might be
model elements that escape the clutches of the visitor interface.
All the implementations are dummy for the moment. I will separately
flesh out the new pretty-printer methods.

There are two patches - one for "gcjx" and another for "gcc/java".

OK?

Thanks,
Ranjit.

- --
Ranjit Mathew       Email: rmathew AT gmail DOT com

Bangalore, INDIA.     Web: http://ranjitmathew.hostingzero.com/




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDSzwPYb1hx2wRS48RAvyuAJ9UTO3tjefS8nknjv6tw+JhOkxZdgCfXbR7
ebKFREBj3PMBJvV5gTZrAEA=
=7KzU
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: p1.txt
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20051011/ca564f02/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: p2.txt
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20051011/ca564f02/attachment-0001.txt>


More information about the Java-patches mailing list