Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] Extending the DLTK Script Model...

Hi Gabriel,

1. We are going to implement way for extending script model in the nearest time, since it is required for other languages too. 
So, please stay tuned we will post the details here when they will be available.

2. The ModuleDeclaration contains list of ASTNodes in the 'Block block' variable. If you don't need types and functions just don't fill these fields.

Regards,
Alex

----- Original Message -----
From: "Gabriel Petrovay" <gabriel.petrovay@xxxxxxxxxx>
To: dltk-dev@xxxxxxxxxxx
Sent: Tuesday, March 10, 2009 10:50:55 PM GMT +06:00 Almaty, Novosibirsk
Subject: [Dltk-dev] Extending the DLTK Script Model...

Hi all,

Is there any way way to extend the Script Model ? I would like to do
several things like:

1. extend the ScriptProject to MyScriptProject (I would like to add
some custom children in the Script Explorer without having to make a
new View by extending ScriptExplorer)
2. the DLTK Source Parsers return ModuleDeclaration's. This is already
making some assumptions about how my module or the input source
element looks like. For example:
       private List types;
       private List functions;
       protected List variables;
I would like to let the parser generate simply ASTNode's. (This might
also be usefull when parsing code fragments.)

Any idea?

Thanks!
--
MSc Gabriel Petrovay
MCSA, MCDBA, MCAD
Mobile: +41(0)787978034



-- 
MSc Gabriel Petrovay
MCSA, MCDBA, MCAD
Mobile: +41(0)787978034
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev


Back to the top