[Monodevelop-devel] Parser Overview
Christian Hergert
christian.hergert at gmail.com
Mon Sep 29 18:38:26 EDT 2008
I have a class that extends ParsedDocument. Do references inside that class
get persisted to the parser database? Or is this perhaps something that i
should have encapsulated in an ICompilationUnit.
As an example ..
PythonParsedDocument : ParsedDocument {
PythonModule module; // hoping this gets persisted
}
-- Christian
On Mon, Sep 29, 2008 at 4:52 AM, Mike Krüger <mkrueger at novell.com> wrote:
> Hi
>
> I think it works almost the same way than before. The language bindings
> should provide the parser for class browser/quick navigation. And they
> should do the code completion (there is a class completiontexteditor
> extension which makes at a bit easier to handle different completion
> cases). But basically the language bindings extend the text editor with
> completion.
>
> See the CSharpLanguageBinding for details. Tags are just a special type
> of comments. I'm not really happy with the name. (Tag comments are
> 'TODO', 'HACK' etc.)
>
> The thing that's really interresting for code completion is the
> ICompilationUnit inside the ParsedDocument. This contains all
> information.
>
> Regards
> Mike
>
>
> > Does anyone have a short overview of how the parser system works now?
> > The optimal interactions between the parser, resolvers, and completion
> > system seems a bit tough to grasp which is compounded by the lack of
> > interface documentation.
> >
> > I'm trying to put together code completion for my cPython addin, but I'm
> > unsure which project I should look at for an ideal example. Things
> > appear to be in a sort of flux.
> >
> > Of particular interest is how the parser should interact with parsed
> > documents, what Tag's are, and how the gui completion should interact
> > with that.
> >
> > Thanks!
> >
> > -- Christian
> >
> > _______________________________________________
> > Monodevelop-devel-list mailing list
> > Monodevelop-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-devel-list
>
> _______________________________________________
> Monodevelop-devel-list mailing list
> Monodevelop-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-devel-list/attachments/20080929/c6ac3ebe/attachment.html
More information about the Monodevelop-devel-list
mailing list