Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Dltk-dev] ast example

hello all -

  i think i've figured out my parser issues for perl and now i'm working on trying to build the dltk ast model but am hitting some snags...

  what is currently the best working example of this? i'm currently trying to figure out how to add import statements to the ModuleDeclaration (ie: 'use strict', etc) but i don't see anything in the 'TypeDeclaration' class that would indicate it's for import statements (i do see things for methods, vars, etc).

  i also don't see any kind of 'include' or 'import' type constant in the 'StatementConstants' that 'getKind()' off the 'Statement' class could return, so i'm not sure how something of this type should be represented.

  thanks!

--
-jae

Back to the top