Sorry for the cross-ask, but I found this mailing list and I thought that
this can be a better place to ask a question like that.
The problem is: I want to create a class field for each child of the tree.
The binary tree example is the simplest one.
Maybe this example is more interesting:
where IDENT is an identifier, EQ is '=', SEMI is ';', EXTENDS is 'extends'.
This kind of extension is simple: A extends B. Anyway, the things can be
more difficult, just think about java and the keywords extends/implement.
What I want to do is to set a field inside my tree class with the value of
the child, not just add it the the "children" array.