~ubuntu-branches/ubuntu/utopic/kdevelop-php/utopic

« back to all changes in this revision

Viewing changes to duchain/builders/declarationbuilder.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:
50
50
class KDEVPHPDUCHAIN_EXPORT DeclarationBuilder : public DeclarationBuilderBase
51
51
{
52
52
public:
53
 
    DeclarationBuilder(ParseSession* session)
54
 
        :  m_findVariable(false), m_variableIsArray(false), m_currentModifers(0) {
55
 
        setEditor(session);
56
 
    }
57
53
    DeclarationBuilder(EditorIntegrator* editor)
58
 
        : m_findVariable(false), m_variableIsArray(false), m_currentModifers(0) {
59
 
        setEditor(editor);
 
54
        : m_findVariable(false), m_variableIsArray(false),
 
55
          m_currentModifers(0)
 
56
    {
 
57
        m_editor = editor;
60
58
    }
61
59
    virtual KDevelop::ReferencedTopDUContext build(const KDevelop::IndexedString& url, AstNode* node,
62
60
            KDevelop::ReferencedTopDUContext updateContext
63
 
            = KDevelop::ReferencedTopDUContext(), bool useSmart = true);
 
61
            = KDevelop::ReferencedTopDUContext());
64
62
 
65
63
    virtual void startVisiting(AstNode* node);
66
64
 
87
85
    virtual void visitCatchItem(CatchItemAst *node);
88
86
    virtual void visitUnaryExpression( UnaryExpressionAst* node );
89
87
    virtual void visitAssignmentListElement(AssignmentListElementAst* node);
90
 
    virtual void openNamespace(NamespaceDeclarationStatementAst* parent, IdentifierAst* node, const IdentifierPair& identifier, const KTextEditor::Range& range);
 
88
    virtual void openNamespace(NamespaceDeclarationStatementAst* parent, IdentifierAst* node, const IdentifierPair& identifier, const KDevelop::RangeInRevision& range);
91
89
    virtual void closeNamespace(NamespaceDeclarationStatementAst* parent, IdentifierAst* node, const IdentifierPair& identifier);
92
90
    virtual void visitUseNamespace(UseNamespaceAst* node);
93
91
    virtual void visitClosure(ClosureAst* node);