Changeset View
Changeset View
Standalone View
Standalone View
duchain/builders/contextbuilder.h
Show First 20 Lines • Show All 102 Lines • ▼ Show 20 Line(s) | 58 | protected: | |||
---|---|---|---|---|---|
103 | /// @see void reportError(const QString& errorMsg, KDevelop::SimpleRange range); | 103 | /// @see void reportError(const QString& errorMsg, KDevelop::SimpleRange range); | ||
104 | void reportError(const QString& errorMsg, QList<AstNode*> nodes, | 104 | void reportError(const QString& errorMsg, QList<AstNode*> nodes, | ||
105 | KDevelop::IProblem::Severity severity = KDevelop::IProblem::Error); | 105 | KDevelop::IProblem::Severity severity = KDevelop::IProblem::Error); | ||
106 | /// Report @p errorMsg with range @p range | 106 | /// Report @p errorMsg with range @p range | ||
107 | void reportError(const QString& errorMsg, KDevelop::RangeInRevision range, | 107 | void reportError(const QString& errorMsg, KDevelop::RangeInRevision range, | ||
108 | KDevelop::IProblem::Severity severity = KDevelop::IProblem::Error); | 108 | KDevelop::IProblem::Severity severity = KDevelop::IProblem::Error); | ||
109 | 109 | | |||
110 | KDevelop::DeclarationPointer findDeclarationImport(DeclarationType declarationType, IdentifierAst* node); | 110 | KDevelop::DeclarationPointer findDeclarationImport(DeclarationType declarationType, IdentifierAst* node); | ||
111 | KDevelop::DeclarationPointer findDeclarationImport(DeclarationType declarationType, SemiReservedIdentifierAst* node); | 111 | KDevelop::DeclarationPointer findDeclarationImport(DeclarationType declarationType, SemiReservedIdentifierAst* node, DeclarationScope declarationScope = LocalScope); | ||
112 | KDevelop::DeclarationPointer findDeclarationImport(DeclarationType declarationType, VariableIdentifierAst* node); | 112 | KDevelop::DeclarationPointer findDeclarationImport(DeclarationType declarationType, VariableIdentifierAst* node); | ||
113 | KDevelop::DeclarationPointer findDeclarationImport(DeclarationType declarationType, | 113 | KDevelop::DeclarationPointer findDeclarationImport(DeclarationType declarationType, | ||
114 | const KDevelop::QualifiedIdentifier &identifier); | 114 | const KDevelop::QualifiedIdentifier &identifier); | ||
115 | 115 | | |||
116 | /// internal functions file should not be checked for errors and can get some optimizations | 116 | /// internal functions file should not be checked for errors and can get some optimizations | ||
117 | bool m_isInternalFunctions; | 117 | bool m_isInternalFunctions; | ||
118 | /// Whether semantic problems should get reported | 118 | /// Whether semantic problems should get reported | ||
119 | bool m_reportErrors; | 119 | bool m_reportErrors; | ||
Show All 15 Lines |