[gcjx] RFC/RFA: A Simple Pretty-Printer for the AST (WIP)
Tom Tromey
tromey@redhat.com
Sun Oct 9 18:03:00 GMT 2005
>>>>> "Ranjit" == Ranjit Mathew <rmathew@gmail.com> writes:
Ranjit> + modifier_t mods = field->get_modifiers ();
Ranjit> + if ((mods & ACC_PUBLIC) != 0)
Ranjit> + out << " PUBLIC";
>> Maybe a helper function to print this stuff?
Ranjit> Of course! I added that.
Actually, for modifiers, why not use model_modifier_list::name()? We
may need to make this public, but that's no problem.
Tom
More information about the Java-patches
mailing list