Skip to main content

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

Hi Jae,

I would suggest using language specific AST nodes.

Regards,
Alex

On Sat, Mar 24, 2012 at 04:56, Jae Gangemi <jgangemi@xxxxxxxxx> wrote:
> 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
>
> _______________________________________________
> dltk-dev mailing list
> dltk-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/dltk-dev
>


Back to the top