CppCodeCompletion Class Reference
#include <cppcodecompletion.h>
Inheritance diagram for CppCodeCompletion:

Member Enumeration Documentation
|
Definition at line 46 of file cppcodecompletion.h. Referenced by completionMode(). |
Constructor & Destructor Documentation
|
Definition at line 245 of file cppcodecompletion.cpp. References KDevPlugin::codeRepository(), computeFileEntryList(), CppCodeCompletion(), integratePart(), m_activeCompletion, m_activeCursor, m_activeEditor, m_bArgHintShow, m_bCompletionBoxShow, m_ccColumn, m_ccLine, m_ccTimer, m_completionMode, m_pSupport, m_repository, NormalCompletion, KDevPlugin::project(), setupCodeInformationRepository(), slotActivePartChanged(), slotFileParsed(), slotPartAdded(), and slotTimeout(). Referenced by CppCodeCompletion(). |
|
Definition at line 292 of file cppcodecompletion.cpp. References d, and m_repository. |
Member Function Documentation
|
|
Definition at line 58 of file cppcodecompletion.h. References CompletionMode, and m_completionMode. |
|
Definition at line 1586 of file cppcodecompletion.cpp. References computeCompletionEntryList(), NamespaceList, KTextEditor::CompletionEntry::prefix, and KTextEditor::CompletionEntry::text. |
|
Definition at line 1566 of file cppcodecompletion.cpp. References ClassList, computeCompletionEntryList(), CppCodeCompletionConfig::includeTypes(), m_pSupport, KTextEditor::CompletionEntry::prefix, and KTextEditor::CompletionEntry::text. |
|
Definition at line 1652 of file cppcodecompletion.cpp. References computeCompletionEntryList(), m_completionMode, NormalCompletion, KTextEditor::CompletionEntry::text, VariableDom, and VariableList. |
|
Definition at line 1600 of file cppcodecompletion.cpp. References ArgumentDom, ArgumentList, computeCompletionEntryList(), m_completionMode, NormalCompletion, KTextEditor::CompletionEntry::postfix, SignalCompletion, SlotCompletion, text(), and KTextEditor::CompletionEntry::text. |
|
Definition at line 1549 of file cppcodecompletion.cpp. References computeCompletionEntryList(), CppCodeCompletionConfig::includeGlobalFunctions(), CppCodeCompletionConfig::includeTypes(), m_completionMode, m_pSupport, and NormalCompletion. |
|
Definition at line 1534 of file cppcodecompletion.cpp. References computeCompletionEntryList(), m_completionMode, NormalCompletion, and typeName(). |
|
Definition at line 1509 of file cppcodecompletion.cpp. References computeCompletionEntryList(), CppFunction< Tag >::isSignal, CppFunction< Tag >::isSlot, Tag::kind(), m_completionMode, Tag::name(), NormalCompletion, SignalCompletion, and SlotCompletion. |
|
|
Definition at line 1671 of file cppcodecompletion.cpp. References computeCompletionEntryList(), SimpleVariable::name, SimpleContext::prev(), KTextEditor::CompletionEntry::text, and SimpleContext::vars(). Referenced by completeText(), and computeCompletionEntryList(). |
|
Definition at line 1227 of file cppcodecompletion.cpp. References SimpleContext::add(), computeContext(), ConditionAST::declarator(), DeclaratorAST::declaratorId(), AST::getEndPosition(), AST::getStartPosition(), SimpleVariable::name, TypeSpecifierAST::text(), toSimpleName(), SimpleVariable::type, typeName(), and ConditionAST::typeSpec(). |
|
|
Definition at line 1184 of file cppcodecompletion.cpp. References computeContext(), SwitchStatementAST::condition(), and SwitchStatementAST::statement(). |
|
Definition at line 1178 of file cppcodecompletion.cpp. References computeContext(), WhileStatementAST::condition(), and WhileStatementAST::statement(). |
|
Definition at line 1172 of file cppcodecompletion.cpp. References computeContext(), and DoStatementAST::statement(). |
|
Definition at line 1166 of file cppcodecompletion.cpp. References computeContext(), ForStatementAST::condition(), and ForStatementAST::statement(). |
|
Definition at line 1160 of file cppcodecompletion.cpp. References computeContext(), IfStatementAST::elseStatement(), and IfStatementAST::statement(). |
|
Definition at line 1140 of file cppcodecompletion.cpp. References computeContext(), AST::getEndPosition(), AST::getStartPosition(), l, and StatementListAST::statementList(). |
|
Definition at line 1107 of file cppcodecompletion.cpp. References computeContext(), AST::nodeType(), NodeType_DeclarationStatement, NodeType_DoStatement, NodeType_ExpressionStatement, NodeType_ForStatement, NodeType_IfStatement, NodeType_StatementList, NodeType_SwitchStatement, and NodeType_WhileStatement. |
|
|
Definition at line 1902 of file cppcodecompletion.cpp. References m_fileEntryList, m_pSupport, KTextEditor::CompletionEntry::text, and unique(). Referenced by CppCodeCompletion(). |
|
Definition at line 1371 of file cppcodecompletion.cpp. References d, endl(), kdDebug(), m_activeFileName, m_pSupport, ComputeRecoveryPoints::parseTranslationUnit(), and CppCodeCompletionData::recoveryPoints. Referenced by slotFileParsed(). |
|
Definition at line 1773 of file cppcodecompletion.cpp. References CppFunction< Tag >::argumentNames(), CppFunction< Tag >::arguments(), computeSignatureList(), CppFunction< Tag >::isConst, m_completionMode, Tag::name(), CppFunction< Tag >::name(), NormalCompletion, and CppFunction< Tag >::type(). |
|
Definition at line 1737 of file cppcodecompletion.cpp. References computeSignatureList(). |
|
Definition at line 1725 of file cppcodecompletion.cpp. References computeSignatureList(), and typeName(). |
|
Definition at line 1688 of file cppcodecompletion.cpp. References CppBaseClass< Tag >::baseClass(), computeSignatureList(), findClass(), findContainer(), m_repository, CodeInformationRepository::query(), and typeName(). Referenced by completeText(), and computeSignatureList(). |
|
Definition at line 543 of file cppcodecompletion.cpp. References Tag::attribute(), CppCodeCompletionData::classNameList, d, evaluateExpression(), evaluateExpressionInternal(), m_pSupport, m_repository, CodeInformationRepository::query(), Tag::scope(), splitExpression(), typeName(), and typeNameList(). Referenced by completeText(), and evaluateExpression(). |
|
Definition at line 600 of file cppcodecompletion.cpp. References evaluateExpressionInternal(), SimpleContext::findVariable(), SimpleVariable::type, typeName(), and typeOf(). Referenced by evaluateExpression(), and evaluateExpressionInternal(). |
|
Definition at line 420 of file cppcodecompletion.cpp. References endl(), expressionAt(), kdDebug(), T_ACCESS, T_BRACKET, T_IDE, T_PAREN, T_UNKNOWN, and text(). Referenced by completeText(), and expressionAt(). |
|
Definition at line 1812 of file cppcodecompletion.cpp. References CppCodeCompletionData::classNameList, d, endl(), findClass(), and kdDebug(). Referenced by computeCompletionEntryList(), computeSignatureList(), findClass(), and typeOf(). |
|
Definition at line 1826 of file cppcodecompletion.cpp. References endl(), findContainer(), kdDebug(), m_activeFileName, and m_pSupport. Referenced by computeCompletionEntryList(), computeSignatureList(), findContainer(), and typeOf(). |
|
Definition at line 1247 of file cppcodecompletion.cpp. References functionDefinition(), AST::nodeType(), NodeType_FunctionDefinition, and AST::parent(). Referenced by completeText(), and functionDefinition(). |
|
Definition at line 1257 of file cppcodecompletion.cpp. References getText(), m_activeEditor, and KTextEditor::EditInterface::textLine(). Referenced by completeText(), and getText(). |
|
Definition at line 329 of file cppcodecompletion.cpp. References endl(), integratePart(), kdDebug(), m_pSupport, slotArgHintHided(), slotCompletionBoxHided(), slotTextChanged(), and KParts::Part::widget(). Referenced by CppCodeCompletion(), integratePart(), and slotPartAdded(). |
|
Definition at line 57 of file cppcodecompletion.h. References m_repository. |
|
Definition at line 1035 of file cppcodecompletion.cpp. Referenced by CppCodeCompletion(). |
|
Definition at line 355 of file cppcodecompletion.cpp. References endl(), kdDebug(), m_activeCompletion, m_activeCursor, m_activeEditor, m_activeFileName, KURL::path(), slotActivePartChanged(), KParts::ReadOnlyPart::url(), and KParts::Part::widget(). Referenced by CppCodeCompletion(), and slotActivePartChanged(). |
|
Definition at line 317 of file cppcodecompletion.cpp. References m_bArgHintShow. Referenced by integratePart(). |
|
Definition at line 323 of file cppcodecompletion.cpp. References m_bCompletionBoxShow, and slotCompletionBoxHided(). Referenced by integratePart(), and slotCompletionBoxHided(). |
|
Definition at line 974 of file cppcodecompletion.cpp. References computeRecoveryPoints(), m_activeEditor, m_activeFileName, m_pSupport, and slotFileParsed(). Referenced by CppCodeCompletion(), and slotFileParsed(). |
|
Definition at line 350 of file cppcodecompletion.cpp. References integratePart(), and slotPartAdded(). Referenced by CppCodeCompletion(), and slotPartAdded(). |
|
Definition at line 392 of file cppcodecompletion.cpp. References KTextEditor::ViewCursorInterface::cursorPositionReal(), m_activeCursor, m_activeEditor, m_ccColumn, m_ccLine, m_ccTimer, m_includeRx, m_pSupport, and KTextEditor::EditInterface::textLine(). Referenced by integratePart(). |
|
Definition at line 298 of file cppcodecompletion.cpp. References completeText(), KTextEditor::ViewCursorInterface::cursorPositionReal(), m_activeCompletion, m_activeCursor, m_activeEditor, m_ccColumn, m_ccLine, and KTextEditor::EditInterface::textLine(). Referenced by CppCodeCompletion(). |
|
Definition at line 488 of file cppcodecompletion.cpp. References ADD_CURRENT, splitExpression(), and text(). Referenced by evaluateExpression(), and splitExpression(). |
|
Definition at line 1039 of file cppcodecompletion.cpp. References d, TypeSpecifierAST::Node, Parser::parseTypeSpecifier(), Lexer::setSource(), and typeName(). Referenced by completeText(), computeCompletionEntryList(), computeContext(), computeSignatureList(), evaluateExpression(), evaluateExpressionInternal(), typeName(), and typeOf(). |
|
Definition at line 1438 of file cppcodecompletion.cpp. References FunctionDom, FunctionList, typeName(), and typeOf(). |
|
Definition at line 1424 of file cppcodecompletion.cpp. References NamespaceDom, typeName(), and typeOf(). |
|
Definition at line 1403 of file cppcodecompletion.cpp. References typeName(), and typeOf(). |
|
Definition at line 1384 of file cppcodecompletion.cpp. References Tag::attribute(), Tag::hasAttribute(), Tag::kind(), Tag::name(), Tag::scope(), typeName(), and typeOf(). |
|
Definition at line 984 of file cppcodecompletion.cpp. References CppBaseClass< Tag >::baseClass(), ClassDom, endl(), findClass(), findContainer(), CodeInformationRepository::getBaseClassList(), kdDebug(), m_pSupport, m_repository, CodeInformationRepository::query(), typeName(), and typeOf(). Referenced by evaluateExpressionInternal(), and typeOf(). |
Member Data Documentation
|
Definition at line 140 of file cppcodecompletion.h. Referenced by completeText(), computeContext(), computeRecoveryPoints(), evaluateExpression(), findClass(), typeName(), and ~CppCodeCompletion(). |
|
Definition at line 131 of file cppcodecompletion.h. Referenced by completeText(), CppCodeCompletion(), slotActivePartChanged(), and slotTimeout(). |
|
Definition at line 129 of file cppcodecompletion.h. Referenced by completeText(), CppCodeCompletion(), slotActivePartChanged(), slotTextChanged(), and slotTimeout(). |
|
Definition at line 130 of file cppcodecompletion.h. Referenced by completeText(), CppCodeCompletion(), getText(), slotActivePartChanged(), slotFileParsed(), slotTextChanged(), and slotTimeout(). |
|
Definition at line 128 of file cppcodecompletion.h. Referenced by completeText(), computeRecoveryPoints(), findContainer(), slotActivePartChanged(), and slotFileParsed(). |
|
Definition at line 133 of file cppcodecompletion.h. Referenced by CppCodeCompletion(), and slotArgHintHided(). |
|
Definition at line 134 of file cppcodecompletion.h. Referenced by CppCodeCompletion(), and slotCompletionBoxHided(). |
|
Definition at line 137 of file cppcodecompletion.h. Referenced by CppCodeCompletion(), slotTextChanged(), and slotTimeout(). |
|
Definition at line 136 of file cppcodecompletion.h. Referenced by CppCodeCompletion(), slotTextChanged(), and slotTimeout(). |
|
Definition at line 127 of file cppcodecompletion.h. Referenced by CppCodeCompletion(), and slotTextChanged(). |
|
Definition at line 141 of file cppcodecompletion.h. Referenced by completeText(), completionMode(), computeCompletionEntryList(), computeSignatureList(), and CppCodeCompletion(). |
|
Definition at line 144 of file cppcodecompletion.h. Referenced by completeText(), and computeFileEntryList(). |
|
Definition at line 143 of file cppcodecompletion.h. Referenced by completeText(), and slotTextChanged(). |
|
Definition at line 126 of file cppcodecompletion.h. Referenced by completeText(), computeCompletionEntryList(), computeFileEntryList(), computeRecoveryPoints(), CppCodeCompletion(), evaluateExpression(), findContainer(), integratePart(), slotFileParsed(), slotTextChanged(), and typeOf(). |
|
Definition at line 139 of file cppcodecompletion.h. Referenced by computeCompletionEntryList(), computeSignatureList(), CppCodeCompletion(), evaluateExpression(), repository(), typeOf(), and ~CppCodeCompletion(). |
The documentation for this class was generated from the following files:
- languages/cpp/cppcodecompletion.h
- languages/cpp/cppcodecompletion.cpp