[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-core-dev] jdt-core-dev Digest, Vol 70, Issue 5

> Hi, I'm programming an AST Visitor.
>
> An EnumDeclaration node contains the following structural properties:
>
> JAVADOC, MODIFIERS, NAME, SUPER_INTERFACE_TYPES, ENUM_CONSTANTS and
> BODY_DECLARATIONS.
>
> When I visit a child node of EnumDeclaration (a SimpleName node, for
> instance), is it possible to know which of the lists of nodes I'm
visiting?
> Is it possible to differenciate?
>
> I'd like to process a node differently, depending on whether I found it
in
> ENUM_CONSTANTS or BODY_DECLARATIONS.
>
> Thanks for the help.

Hi, Please use the jdt forums (
http://www.eclipse.org/forums/index.php?t=thread&frm_id=13&S=050b9908c4ade6ee764e331deadea06d
) to post your query. This mailing list is for JDT/Core development issues.
Thanks!


Ayushman Jain