[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.technology.dltk] Re: type hierarchy and code completion
|
Although I've determined a way to get access to the AST nodes, and they may
contain the information I need to do the completion for global and in-module
declarations, I still want to
hear about:
a) Is the internal model intended to be extended (or not because it is
internal)?
b) How does one make use of declarations from another module, i.e. Java
import?
I know this may be related to the use of "mixin" somehow - but I
have no idea if/how to use "mixin" classes.
Chuck
"Chuck Doucette" <cdoucette@xxxxxxxxxxx> wrote in message
news:g2kf51$d1n$1@xxxxxxxxxxxxxxxxxxxx
>> a) Should everything in the language be part of the model?
>> If so, must I create
>> i) new model classes which extend the existing model classes
>> ii) new visitor classes to instantiate my my model classes
>> (instead of yours)
>
> I imagine the answer to this question is no, since the model classes are
> in
> org.eclipse.dltk.internal.core.
> However, if the answer is no, where else can the completion engine get its
> information - from the AST instead somehow?
>
>> b) How do you envision referencing external modules/types/classes and
>> doing code completion of those (rather than limiting yourself to the
>> current source module)?
>
> I know you support "mixin" somehow - although I'm not sure how.
> I'm thinking more of the Java model where you import elements defined in
> other files.
>
> Thanks,
> Chuck
>
>