[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.dltk] Tips about building AST

Hi,

I'm trying to build a DLTK compliant AST and I'm facing an issue
building the parser. I've noticed that there is a "getChilds()" method
on every ASTNode, but you cant add any child node. Reading the code of
the Python IDE example, I discovered that ModuleDeclaration objects
accept child nodes with the "addStatement()" method. So, there is My
question.

Is it possible to have several ModuleDeclaration objects in one single
AST? If no, what is the proper way to link ASTNode objects together ?

Regards