enum class NodeKind
Description
A kind of a syntax node, used for implementing casts. The ordering and blocks of enumerator constants must correspond to the inheritance hierarchy of syntax::Node.
Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:32
Enumerators
| Name | Value | Comment |
|---|---|---|
| Leaf | 0 | |
| ArraySubscript | 1 | |
| EmptyDeclaration | 2 | |
| ExplicitTemplateInstantiation | 3 | |
| LinkageSpecificationDeclaration | 4 | |
| NamespaceAliasDefinition | 5 | |
| NamespaceDefinition | 6 | |
| SimpleDeclaration | 7 | |
| StaticAssertDeclaration | 8 | |
| TemplateDeclaration | 9 | |
| TypeAliasDeclaration | 10 | |
| UnknownDeclaration | 11 | |
| UsingDeclaration | 12 | |
| UsingNamespaceDirective | 13 | |
| ParenDeclarator | 14 | |
| SimpleDeclarator | 15 | |
| BinaryOperatorExpression | 16 | |
| CallExpression | 17 | |
| IdExpression | 18 | |
| BoolLiteralExpression | 19 | |
| CharacterLiteralExpression | 20 | |
| CxxNullPtrExpression | 21 | |
| FloatingLiteralExpression | 22 | |
| IntegerLiteralExpression | 23 | |
| StringLiteralExpression | 24 | |
| CharUserDefinedLiteralExpression | 25 | |
| FloatUserDefinedLiteralExpression | 26 | |
| IntegerUserDefinedLiteralExpression | 27 | |
| StringUserDefinedLiteralExpression | 28 | |
| MemberExpression | 29 | |
| ParenExpression | 30 | |
| ThisExpression | 31 | |
| UnknownExpression | 32 | |
| CallArguments | 33 | |
| DeclaratorList | 34 | |
| NestedNameSpecifier | 35 | |
| ParameterDeclarationList | 36 | |
| MemberPointer | 37 | |
| DecltypeNameSpecifier | 38 | |
| GlobalNameSpecifier | 39 | |
| IdentifierNameSpecifier | 40 | |
| SimpleTemplateNameSpecifier | 41 | |
| ParametersAndQualifiers | 42 | |
| BreakStatement | 43 | |
| CaseStatement | 44 | |
| CompoundStatement | 45 | |
| ContinueStatement | 46 | |
| DeclarationStatement | 47 | |
| DefaultStatement | 48 | |
| EmptyStatement | 49 | |
| ExpressionStatement | 50 | |
| ForStatement | 51 | |
| IfStatement | 52 | |
| RangeBasedForStatement | 53 | |
| ReturnStatement | 54 | |
| SwitchStatement | 55 | |
| UnknownStatement | 56 | |
| WhileStatement | 57 | |
| TrailingReturnType | 58 | |
| TranslationUnit | 59 | |
| PostfixUnaryOperatorExpression | 60 | |
| PrefixUnaryOperatorExpression | 61 | |
| UnqualifiedId | 62 |