This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gcjx] RFC/RFA: A Simple Pretty-Printer for the AST (WIP)


>>>>> "Ranjit" == Ranjit Mathew <rmathew@gmail.com> writes:

>> Actually, for modifiers, why not use model_modifier_list::name()?  We
>> may need to make this public, but that's no problem.

Ranjit> It seems to return only the first set flag in a modifier_t.
Ranjit> Not something like "PUBLIC STATIC FINAL" if all of
Ranjit> these are set.

Yeah, we would have to iterate over all the set bits.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]