~ubuntu-branches/ubuntu/quantal/kdevelop-php/quantal-proposed

« back to all changes in this revision

Viewing changes to duchain/builders/usebuilder.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-12-20 14:59:02 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20101220145902-a6cmovse1qmue52p
Tags: 1.1.80-0ubuntu1
* New upstream release
* Build-dep on kdevplatform >= 1.1.80
* Get rid of l10n packages, not relevant in Ubuntu, put locale files into main package

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
class KDEVPHPDUCHAIN_EXPORT UseBuilder: public UseBuilderBase
42
42
{
43
43
public:
44
 
    UseBuilder(ParseSession* session);
45
44
    UseBuilder(EditorIntegrator* editor);
46
45
 
47
 
    void newCheckedUse(AstNode* node, KDevelop::Declaration* declaration);
 
46
    void newCheckedUse(Php::AstNode* node, const KDevelop::DeclarationPointer& declaration);
48
47
 
49
48
    virtual KDevelop::ReferencedTopDUContext build(const KDevelop::IndexedString& url, AstNode* node,
50
49
        KDevelop::ReferencedTopDUContext updateContext
51
 
        = KDevelop::ReferencedTopDUContext(), bool useSmart = true);
 
50
        = KDevelop::ReferencedTopDUContext());
52
51
 
53
52
protected:
54
53
    virtual void visitParameter(ParameterAst *node);
61
60
    virtual void visitCatchItem(CatchItemAst* node);
62
61
    virtual void visitUnaryExpression( UnaryExpressionAst* node );
63
62
    virtual void visitUseNamespace(UseNamespaceAst* node);
 
63
    virtual void openNamespace(NamespaceDeclarationStatementAst* parent, IdentifierAst* node, const IdentifierPair& identifier, const KDevelop::RangeInRevision& range);
64
64
 
65
65
private:
66
66
    void buildNamespaceUses(Php::NamespacedIdentifierAst* node, Php::DeclarationType lastType = Php::ClassDeclarationType);