SVN commit 1057771 by rodda: Basic documentation for expression visitor creation M +7 -0 Mainpage.dox --- trunk/extragear/sdk/kdevplatform/language/duchain/Mainpage.dox #1057770:1057771 @@ -154,6 +154,13 @@ * By subclassing \ref KDevelop::AbstractUseBuilder "AbstractUseBuilder", you can create uses when they are encountered * in your AST, and they will be automatically registered with the current context. * + * \subsection expr Expression Visitor + * By subclassing \ref KDevelop::AbstractExpressionVisitor "AbstractExpressionVisitor", you can provide a convenient + * way to request the type and/or instance information for a given expression. This is useful in both + * figuring out what code completion to offer when it is invoked after or inside an expression, and to + * allow complete use building, ie. for uses within expressions. In c++, this is a very complex matter, + * involving type conversion and overload resolution, while still tracking template types. + * * \section cc Implementing Code Completion * * To provide code completion for your language, you will need to implement the following: