KDevelop5/DUChainIdentities: Difference between revisions

From KDE TechBase
(Swap columns)
(Update types: Remove oldcpp types, add the ones from new Clang support)
 
(24 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.
 
{|class="wikitable"
!Category
!ID
!Use
|-
| Platform || 1 || <tt>DUChainBase</tt>
|-
| Platform || 2 || <tt>DUContext</tt>
|-
| Platform || 4 || <tt>TopDUContext</tt>
|-
| Platform || 6 || <tt>AliasDeclaration</tt>
|-
| Platform || 7 || <tt>Declaration</tt>
|-
| Platform || 9 || <tt>ClassMemberDeclaration</tt>
|-
| Platform || 10 || <tt>ForwardDeclaration</tt>
|-
| Platform || 11 || <tt>ParsingEnvironmentFile</tt>
|-
| Platform || 12 || <tt>FunctionDeclaration</tt>
|-
| Platform || 13 || <tt>NamespaceAliasDeclaration</tt>
|-
| Platform || 14 || <tt>ClassFunctionDeclaration</tt>
|-
| Platform || 15 || <tt>Problem</tt>
|-
| Platform || 17 || <tt>ClassDeclaration</tt>
|-
| C++ || 18 || <tt>TemplateParameterDeclaration</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>)
|-
| PHP || 53 || <tt>PhpDUContext<DUContext></tt> (aka <tt>PhpNormalDUContext</tt>)
|-
| C++ || 54 || <tt>CppDUContext<DUContext></tt> (aka <tt>CppTopDUContext</tt>)
|-
| PHP || 55 || <tt>PhpDUContext<TopDUContext></tt> (aka <tt>PhpTopDUContext</tt>)
|-
| C++ || 56 || <tt>SpecialTemplateDeclaration<AliasDeclaration></tt>
|-
| C++ || 57 || <tt>SpecialTemplateDeclaration<Declaration></tt>
|-
| C++ || 59 || <tt>SpecialTemplateDeclaration<ClassMemberDeclaration></tt>
|-
| C++ || 60 || <tt>SpecialTemplateDeclaration<ForwardDeclaration></tt>
|-
| C++ || 62 || <tt>SpecialTemplateDeclaration<FunctionDeclaration></tt>
|-
| C++ || 64 || <tt>SpecialTemplateDeclaration<ClassFunctionDeclaration></tt>
|-
| C++ || 67 || <tt>SpecialTemplateDeclaration<ClassDeclaration></tt>
|-
| C++ || 68 || <tt>SpecialTemplateDeclaration<ClassDeclaration></tt>
|-
| C++ || 71 || <tt>SpecialTemplateDeclaration<FunctionDefinition></tt>
|-
| C++ || 73 || <tt>EnvironmentFile</tt>
|-
| C++ || 74 || <tt>QtFunctionDeclaration</tt>
|-
| C++ || 75 || <tt>QPropertyDeclaration</tt>
|-
| PHP ||  80 || <tt><s>ConstantDeclaration</s></tt> (not used anymore)
|-
| PHP ||  81 || <tt><s>ClassDeclaration</s></tt> (not used anymore)
|-
| PHP ||  83 || <tt>VariableDeclaration</tt>
|-
| PHP ||  84 || <tt>ClassMethodDeclaration</tt>
|-
| PHP ||  85 || <tt>ClassDeclaration</tt>
|-
| PHP ||  86 || <tt>FunctionDeclaration</tt>
|-
| PHP ||  87 || <tt>NamespaceDeclaration</tt>
|-
| PHP ||  88 || <tt>NamespaceAliasDeclaration</tt>
|-
| XML || 90 || <tt>ElementDeclaration</tt>
|-
| XML || 91 || <tt>ImportDeclaration</tt>
|-
| Python || 100 || <tt>PythonDUContext<TopDUContext></tt> (aka <tt>PythonTopDUContext</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>
|-
| Python || 125 || <tt>ClassDeclaration</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>
|}


Please edit this page as appropriate, it's probably not complete like this.


{|class="wikitable"
{|class="wikitable"
|+ Types
!Category
!Category
!ID
!ID
!Use
|-
| Platform || 1 || <tt>AbstractType</tt>
|-
| Platform || 2 || <tt>IntegralType</tt>
|-
| Platform || 3 || <tt>PointerType</tt>
|-
| Platform || 4 || <tt>ReferenceType</tt>
|-
| Platform || 5 || <tt>FunctionType</tt>
|-
| Platform || 6 || <tt>StructureType</tt>
|-
| Platform || 7 || <tt>ArrayType</tt>
|-
| Platform || 8 || <tt>DelayedType</tt>
|-
| Platform || 9 || <tt>TypeAliasType</tt>
|-
| Platform || 14 || <tt>ConstantIntegralType</tt>
|-
| C++ || 18 || <tt>ClassSpecializationType</tt>
|-
| Platform || 20 || <tt>EnumeratorType</tt>
|-
| Platform || 21 || <tt>EnumerationType</tt>
|-
| QML/JS || 30 || <tt>FunctionType</tt>
|-
| Platform || 39 || <tt>UnsureType</tt>
|-
| Ruby || 41 || <tt>ClassType</tt>
|-
| PHP || 50 || <tt>IntegralTypeExtended</tt>
|-
| PHP || 51 || <tt>StructureType</tt>
|-
| PHP || 52 || <tt>IndexedContainer</tt>
|-
|-
| C++ / KDevPlatform || 0-39
| Platform || 57 || <tt>MapType</tt>
|-
|-
| Java || 30-40
| Platform || 58 || <tt>ListType</tt>
|-
|-
| C++ || 40-49
| Python || 59 || <tt>IndexedContainer</tt>
|-
|-
| PHP || 50-59
| Python || 60 || <tt>IntegralTypeExtended</tt>
|-
|-
| Ruby, Python || 60-69
| <del>Python</del> || <del>61</del> || <del><tt>VariableLengthContainer</tt></del> (now split into ListType and MapType)
|-
|-
| C++ || 70-79
| Python || 62 || <tt>HintedType</tt>
|-
|-
| PHP || 80-89
| Python || 63 || <tt>UnsureType</tt>
|-
|-
| XML || 90-99
| 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