[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/sdk/kdevplatform/language/duchain
From: Hamish Rodda <rodda () kde ! org>
Date: 2009-12-03 9:43:31
Message-ID: 1259833411.280523.23931.nullmailer () svn ! kde ! org
[Download RAW message or body]
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:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic