KDevelop5/DUChainIdentities: Difference between revisions

From KDE TechBase
(Added Python IDs)
(Update types: Remove oldcpp types, add the ones from new Clang support)
 
(16 intermediate revisions by 7 users not shown)
Line 1: Line 1:
This is a list of ranges used by various plugins for their Declaration and Type identities.
This is a list of Identity values used by various plugins for their Declarations and Types.
 
Please edit this page as appropriate, it's probably not complete like this.


{|class="wikitable"
{|class="wikitable"
Line 8: Line 6:
!Use
!Use
|-
|-
| KDevPlatform || 1 || <tt>DUChainBase</tt>
| Platform || 1 || <tt>DUChainBase</tt>
|-
|-
| KDevPlatform || 2 || <tt>DUContext</tt>
| Platform || 2 || <tt>DUContext</tt>
|-
|-
| KDevPlatform || 4 || <tt>TopDUContext</tt>
| Platform || 4 || <tt>TopDUContext</tt>
|-
|-
| KDevPlatform || 6 || <tt>AliasDeclaration</tt>
| Platform || 6 || <tt>AliasDeclaration</tt>
|-
|-
| KDevPlatform || 7 || <tt>Declaration</tt>
| Platform || 7 || <tt>Declaration</tt>
|-
|-
| KDevPlatform || 9 || <tt>ClassMemberDeclaration</tt>
| Platform || 9 || <tt>ClassMemberDeclaration</tt>
|-
|-
| KDevPlatform || 10 || <tt>ForwardDeclaration</tt>
| Platform || 10 || <tt>ForwardDeclaration</tt>
|-
|-
| KDevPlatform || 11 || <tt>ParsingEnvironmentFile</tt>
| Platform || 11 || <tt>ParsingEnvironmentFile</tt>
|-
|-
| KDevPlatform || 12 || <tt>FunctionDeclaration</tt>
| Platform || 12 || <tt>FunctionDeclaration</tt>
|-
|-
| KDevPlatform || 13 || <tt>NamespaceAliasDeclaration</tt>
| Platform || 13 || <tt>NamespaceAliasDeclaration</tt>
|-
|-
| KDevPlatform || 14 || <tt>ClassFunctionDeclaration</tt>
| Platform || 14 || <tt>ClassFunctionDeclaration</tt>
|-
|-
| KDevPlatform || 15 || <tt>Problem</tt>
| Platform || 15 || <tt>Problem</tt>
|-
|-
| KDevPlatform || 17 || <tt>ClassDeclaration</tt>
| Platform || 17 || <tt>ClassDeclaration</tt>
|-
|-
| C++ || 18 || <tt>TemplateParameterDeclaration</tt>
| C++ || 18 || <tt>TemplateParameterDeclaration</tt>
|-
|-
| KDevPlatform || 21 || <tt>FunctionDefinition</tt>
| Platform || 21 || <tt>FunctionDefinition</tt>
|-
| Ruby || 42 || <tt>MethodDeclaration</tt>
|-
| Ruby || 43 || <tt>RubyDUContext<DUContext></tt> (aka <tt>RubyNormalDUContext</tt>)
|-
| Ruby || 44 || <tt>ModuleDeclaration</tt>
|-
| Ruby || 45 || <tt>RubyDUContext<TopDUContext></tt> (aka <tt>RubyTopDUContext</tt>)
|-
| Ruby || 47 || <tt>VariableDeclaration</tt>
|-
|-
| C++ || 52 || <tt>CppDUContext<TopDUContext></tt> (aka <tt>CppNormalDUContext</tt>)
| C++ || 52 || <tt>CppDUContext<TopDUContext></tt> (aka <tt>CppNormalDUContext</tt>)
Line 70: Line 78:
| C++ || 75 || <tt>QPropertyDeclaration</tt>
| C++ || 75 || <tt>QPropertyDeclaration</tt>
|-
|-
| PHP ||  80 || <tt>ConstantDeclaration</tt> (not used anymore)
| PHP ||  80 || <tt><s>ConstantDeclaration</s></tt> (not used anymore)
|-
|-
| PHP ||  81 || <tt>ClassDeclaration</tt> (not used anymore)
| PHP ||  81 || <tt><s>ClassDeclaration</s></tt> (not used anymore)
|-
|-
| PHP ||  83 || <tt>VariableDeclaration</tt>
| PHP ||  83 || <tt>VariableDeclaration</tt>
Line 86: Line 94:
| PHP ||  88 || <tt>NamespaceAliasDeclaration</tt>
| PHP ||  88 || <tt>NamespaceAliasDeclaration</tt>
|-
|-
| XML || 90-99
| XML || 90 || <tt>ElementDeclaration</tt>
|-
| XML || 91 || <tt>ImportDeclaration</tt>
|-
|-
| Python || 100 || <tt>PythonDUContext<TopDUContext></tt> (aka <tt>PythonTopDUContext</tt>)
| Python || 100 || <tt>PythonDUContext<TopDUContext></tt> (aka <tt>PythonTopDUContext</tt>)
|-
|-
| Python || 101 || <tt>PythonDUContext<DUContext></tt> (aka <tt>PythonNormalDUContext</tt>)
| Python || 101 || <tt>PythonDUContext<DUContext></tt> (aka <tt>PythonNormalDUContext</tt>)
|-
| QML/JS || 110 || <tt>QmlJSTopDUContext</tt>
|-
| QML/JS || 111 || <tt>QmlJSNormalDUContext</tt>
|-
| QML/JS || 112 || <tt>FunctionDeclaration</tt>
|-
|-
| C++ || 124 || <tt>SpecialTemplateDeclaration<QtFunctionDeclaration></tt>
| C++ || 124 || <tt>SpecialTemplateDeclaration<QtFunctionDeclaration></tt>
Line 97: Line 113:
|-
|-
| Python || 126 || <tt>FunctionDeclaration</tt>
| Python || 126 || <tt>FunctionDeclaration</tt>
|-
| Python || 127 || <tt><s>ClassFunctionDeclaration</s></tt> (not used anymore)
|-
| kdev-clang || 140 || <tt>ClangTopDUContext</tt>
|-
| kdev-clang || 141 || <tt>ClangNormalDUContext</tt>
|-
| kdev-clang || 143 || <tt>ClangParsingEnvironmentFile</tt>
|-
| kdev-clang || 142 || <tt>MacroDefinition</tt>
|}
|}


Line 106: Line 132:
!Use
!Use
|-
|-
| KDevPlatform || 1 || <tt>AbstractType</tt>
| Platform || 1 || <tt>AbstractType</tt>
|-
|-
| KDevPlatform || 2 || <tt>IntegralType</tt>
| Platform || 2 || <tt>IntegralType</tt>
|-
|-
| KDevPlatform || 3 || <tt>PointerType</tt>
| Platform || 3 || <tt>PointerType</tt>
|-
|-
| KDevPlatform || 4 || <tt>ReferenceType</tt>
| Platform || 4 || <tt>ReferenceType</tt>
|-
|-
| KDevPlatform || 5 || <tt>FunctionType</tt>
| Platform || 5 || <tt>FunctionType</tt>
|-
|-
| KDevPlatform || 6 || <tt>StructureType</tt>
| Platform || 6 || <tt>StructureType</tt>
|-
|-
| KDevPlatform || 7 || <tt>ArrayType</tt>
| Platform || 7 || <tt>ArrayType</tt>
|-
|-
| KDevPlatform || 8 || <tt>DelayedType</tt>
| Platform || 8 || <tt>DelayedType</tt>
|-
|-
| KDevPlatform || 9 || <tt>TypeAliasType</tt>
| Platform || 9 || <tt>TypeAliasType</tt>
|-
|-
| KDevPlatform || 14 || <tt>ConstantIntegralType</tt>
| Platform || 14 || <tt>ConstantIntegralType</tt>
|-
|-
| C++ || 18 || <tt>CppClassType</tt>
| C++ || 18 || <tt>ClassSpecializationType</tt>
|-
|-
| KDevPlatform || 20 || <tt>EnumeratorType</tt>
| Platform || 20 || <tt>EnumeratorType</tt>
|-
|-
| KDevPlatform || 21 || <tt>EnumerationType</tt>
| Platform || 21 || <tt>EnumerationType</tt>
|-
|-
| C++ || 23 || <tt>CppTemplateParameterType</tt>
| QML/JS || 30 || <tt>FunctionType</tt>
|-
|-
| KDevPlatform || 39 || <tt>UnsureType</tt>
| Platform || 39 || <tt>UnsureType</tt>
|-
|-
| C++ || 42 || <tt>PtrToMemberType</tt>
| Ruby || 41 || <tt>ClassType</tt>
|-
|-
| PHP || 50 || <tt>IntegralTypeExtended</tt>
| PHP || 50 || <tt>IntegralTypeExtended</tt>
|-
|-
| PHP || 51 || <tt>StructureType</tt>
| PHP || 51 || <tt>StructureType</tt>
|-
| PHP || 52 || <tt>IndexedContainer</tt>
|-
| Platform || 57 || <tt>MapType</tt>
|-
| Platform || 58 || <tt>ListType</tt>
|-
|-
| Python || 59 || <tt>IndexedContainer</tt>
| Python || 59 || <tt>IndexedContainer</tt>
Line 146: Line 178:
| Python || 60 || <tt>IntegralTypeExtended</tt>
| Python || 60 || <tt>IntegralTypeExtended</tt>
|-
|-
| Python || 61 || <tt>VariableLengthContainer</tt>
| <del>Python</del> || <del>61</del> || <del><tt>VariableLengthContainer</tt></del> (now split into ListType and MapType)
|-
|-
| Python || 62 || <tt>HintedType</tt>
| Python || 62 || <tt>HintedType</tt>
|-
|-
| Python || 63 || <tt>UnsureType</tt>
| Python || 63 || <tt>UnsureType</tt>
|-
| Python || 64 || <tt>NoneType</tt>
|}
|}

Latest revision as of 09:07, 26 October 2017

This is a list of Identity values used by various plugins for their Declarations and Types.

Category ID Use
Platform 1 DUChainBase
Platform 2 DUContext
Platform 4 TopDUContext
Platform 6 AliasDeclaration
Platform 7 Declaration
Platform 9 ClassMemberDeclaration
Platform 10 ForwardDeclaration
Platform 11 ParsingEnvironmentFile
Platform 12 FunctionDeclaration
Platform 13 NamespaceAliasDeclaration
Platform 14 ClassFunctionDeclaration
Platform 15 Problem
Platform 17 ClassDeclaration
C++ 18 TemplateParameterDeclaration
Platform 21 FunctionDefinition
Ruby 42 MethodDeclaration
Ruby 43 RubyDUContext<DUContext> (aka RubyNormalDUContext)
Ruby 44 ModuleDeclaration
Ruby 45 RubyDUContext<TopDUContext> (aka RubyTopDUContext)
Ruby 47 VariableDeclaration
C++ 52 CppDUContext<TopDUContext> (aka CppNormalDUContext)
PHP 53 PhpDUContext<DUContext> (aka PhpNormalDUContext)
C++ 54 CppDUContext<DUContext> (aka CppTopDUContext)
PHP 55 PhpDUContext<TopDUContext> (aka PhpTopDUContext)
C++ 56 SpecialTemplateDeclaration<AliasDeclaration>
C++ 57 SpecialTemplateDeclaration<Declaration>
C++ 59 SpecialTemplateDeclaration<ClassMemberDeclaration>
C++ 60 SpecialTemplateDeclaration<ForwardDeclaration>
C++ 62 SpecialTemplateDeclaration<FunctionDeclaration>
C++ 64 SpecialTemplateDeclaration<ClassFunctionDeclaration>
C++ 67 SpecialTemplateDeclaration<ClassDeclaration>
C++ 68 SpecialTemplateDeclaration<ClassDeclaration>
C++ 71 SpecialTemplateDeclaration<FunctionDefinition>
C++ 73 EnvironmentFile
C++ 74 QtFunctionDeclaration
C++ 75 QPropertyDeclaration
PHP 80 ConstantDeclaration (not used anymore)
PHP 81 ClassDeclaration (not used anymore)
PHP 83 VariableDeclaration
PHP 84 ClassMethodDeclaration
PHP 85 ClassDeclaration
PHP 86 FunctionDeclaration
PHP 87 NamespaceDeclaration
PHP 88 NamespaceAliasDeclaration
XML 90 ElementDeclaration
XML 91 ImportDeclaration
Python 100 PythonDUContext<TopDUContext> (aka PythonTopDUContext)
Python 101 PythonDUContext<DUContext> (aka PythonNormalDUContext)
QML/JS 110 QmlJSTopDUContext
QML/JS 111 QmlJSNormalDUContext
QML/JS 112 FunctionDeclaration
C++ 124 SpecialTemplateDeclaration<QtFunctionDeclaration>
Python 125 ClassDeclaration
Python 126 FunctionDeclaration
Python 127 ClassFunctionDeclaration (not used anymore)
kdev-clang 140 ClangTopDUContext
kdev-clang 141 ClangNormalDUContext
kdev-clang 143 ClangParsingEnvironmentFile
kdev-clang 142 MacroDefinition


Types
Category ID Use
Platform 1 AbstractType
Platform 2 IntegralType
Platform 3 PointerType
Platform 4 ReferenceType
Platform 5 FunctionType
Platform 6 StructureType
Platform 7 ArrayType
Platform 8 DelayedType
Platform 9 TypeAliasType
Platform 14 ConstantIntegralType
C++ 18 ClassSpecializationType
Platform 20 EnumeratorType
Platform 21 EnumerationType
QML/JS 30 FunctionType
Platform 39 UnsureType
Ruby 41 ClassType
PHP 50 IntegralTypeExtended
PHP 51 StructureType
PHP 52 IndexedContainer
Platform 57 MapType
Platform 58 ListType
Python 59 IndexedContainer
Python 60 IntegralTypeExtended
Python 61 VariableLengthContainer (now split into ListType and MapType)
Python 62 HintedType
Python 63 UnsureType
Python 64 NoneType