charfi asma <charfiasma@xxxxxxxx> writes: > Thank you Ian for this clarification, but how can I add a class' method to the > generic tree? > should I add it to the TYPE_FIELDS just like attribute ? I'm not sure how to answer that question because I'm not sure what it means. What is the effect you want to get by adding the method? Your frontend will have to generate all calls to it in any case. Ian