[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: RE: RFC: Structure of background parser and language support
From: "Kris Wong" <wongk () seapine ! com>
Date: 2007-07-11 16:51:58
Message-ID: D1EF2A02037CA74CBC1C6AF3F5E0F73102428184 () ex3 ! seapine ! com
[Download RAW message or body]
> My understanding is that one languagesupport can support more than one
> mime-type. So what I want is that you are asking the languagesupport
for a
> parser for the file/mimetype so that the languagesupport can decide
> internally which parser to choose. You would get back the parsejob and
can do
> what you want with it.
I don't think this is really what you want. A language is much more
than just a parser. It is also the duchain and code completion
specializations, supports code navigation, etc... A language support
supports more than one MIME type in the sense that a javascript language
support could be loaded for:
text/html files
text/javascript files
text/php files
etc... In the same sense a text/php file could load a php language
support, html language support, javascript langauge support, etc...
Kris Wong
_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic