RFC: Structure of background parser and language support
Jens Herden
jens at kdewebdev.org
Wed Jul 11 16:35:19 UTC 2007
>
> You want a one to many relationship between a language and its
> parser(s)? I can't see a benefit of trying to parse the same language
> in different ways. Also, the platform does not currently support this.
> You can, however, have multiple languages loaded for the same file
> (i.e., HTML/PHP/CSS/JS). Would this accomplish what it is you need to
> support?
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.
Jens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20070711/1708dd8c/attachment.sig>
More information about the KDevelop-devel
mailing list