Parse docblocks

Andreas Pakulat apaku at
Mon Jul 7 22:54:06 UTC 2008

On 07.07.08 22:54:06, Niko Sams wrote:
> I want to parse docblocks in php code, as they might contain

Would you mind telling what "docblocks" are? (I'm guessing its similar
to pythons docstrings, i.e. multi-line documentation in the source,
especially used right after the function/class declaration).

> useful information the code itself doesn't provide (php is a dynamic language).
> But where could I implement this? The Lexer allready produces the
> correct token-kinds,
> but they are not filled into the TokenStream. Doing so (as Tokens) is
> not really possible as
> the parser can't deal with them.

Whats the problem with doing this? Does it make the parser too complex?
Maybe we could extend kdev-pg or the existing token-stream to handle


There is a 20% chance of tomorrow.

More information about the KDevelop-devel mailing list