Expand description
Strongly-typed AST types for C++, generated from tree-sitter-cpp’s node-types.json.
Structs§
- Abstract
Array Declarator - Abstract
Function Declarator - Abstract
Parenthesized Declarator - Abstract
Pointer Declarator - Abstract
Reference Declarator - Access
Specifier - Alias
Declaration - Alignas
Qualifier - Alignof
Expression - Argument
List - Array
Declarator - Assignment
Expression - Attribute
- Attribute
Declaration - Attribute
Specifier - Attributed
Declarator - Attributed
Statement - Auto
- Base
Class Clause - Binary
Expression - Bitfield
Clause - Break
Statement - Call
Expression - Case
Statement - Cast
Expression - Catch
Clause - Char
Literal - Character
- Class
Specifier - CoAwait
Expression - CoReturn
Statement - CoYield
Statement - Comma
Expression - Comment
- Compound
Literal Expression - Compound
Requirement - Compound
Statement - Concatenated
String - Concept
Definition - Condition
Clause - Conditional
Expression - Constraint
Conjunction - Constraint
Disjunction - Continue
Statement - Declaration
- Declaration
List - Decltype
- Default
Method Clause - Delete
Expression - Delete
Method Clause - Dependent
Name - Dependent
Type - Destructor
Name - DoStatement
- Else
Clause - Enum
Specifier - Enumerator
- Enumerator
List - Escape
Sequence - Explicit
Function Specifier - Expression
Statement - Extension
Expression - False
- Field
Declaration - Field
Declaration List - Field
Designator - Field
Expression - Field
Identifier - Field
Initializer - Field
Initializer List - Fold
Expression - ForRange
Loop - ForStatement
- Friend
Declaration - Function
Declarator - Function
Definition - Generic
Expression - GnuAsm
Clobber List - GnuAsm
Expression - GnuAsm
Goto List - GnuAsm
Input Operand - GnuAsm
Input Operand List - GnuAsm
Output Operand - GnuAsm
Output Operand List - GnuAsm
Qualifier - Goto
Statement - Identifier
- IfStatement
- Init
Declarator - Init
Statement - Initializer
List - Initializer
Pair - Labeled
Statement - Lambda
Capture Initializer - Lambda
Capture Specifier - Lambda
Default Capture - Lambda
Expression - Linkage
Specification - Literal
Suffix - MsBased
Modifier - MsCall
Modifier - MsDeclspec
Modifier - MsPointer
Modifier - MsRestrict
Modifier - MsSigned
PtrModifier - MsUnaligned
PtrModifier - MsUnsigned
PtrModifier - Namespace
Alias Definition - Namespace
Definition - Namespace
Identifier - Nested
Namespace Specifier - NewDeclarator
- NewExpression
- Noexcept
- Null
- Number
Literal - Offsetof
Expression - Operator
Cast - Operator
Name - Optional
Parameter Declaration - Optional
Type Parameter Declaration - Parameter
Declaration - Parameter
List - Parameter
Pack Expansion - Parenthesized
Declarator - Parenthesized
Expression - Placeholder
Type Specifier - Pointer
Declarator - Pointer
Expression - Pointer
Type Declarator - Preproc
Arg - Preproc
Call - Preproc
Def - Preproc
Defined - Preproc
Directive - Preproc
Elif - Preproc
Elifdef - Preproc
Else - Preproc
Function Def - Preproc
If - Preproc
Ifdef - Preproc
Include - Preproc
Params - Primitive
Type - Pure
Virtual Clause - Qualified
Identifier - RawString
Content - RawString
Delimiter - RawString
Literal - RefQualifier
- Reference
Declarator - Requirement
Seq - Requires
Clause - Requires
Expression - Return
Statement - SehExcept
Clause - SehFinally
Clause - SehLeave
Statement - SehTry
Statement - Simple
Requirement - Sized
Type Specifier - Sizeof
Expression - Span
- Statement
Identifier - Static
Assert Declaration - Storage
Class Specifier - String
Content - String
Literal - Struct
Specifier - Structured
Binding Declarator - Subscript
Argument List - Subscript
Designator - Subscript
Expression - Subscript
Range Designator - Switch
Statement - System
LibString - Template
Argument List - Template
Declaration - Template
Function - Template
Instantiation - Template
Method - Template
Parameter List - Template
Template Parameter Declaration - Template
Type - This
- Throw
Specifier - Throw
Statement - Trailing
Return Type - Translation
Unit - True
- TryStatement
- Type
Definition - Type
Descriptor - Type
Identifier - Type
Parameter Declaration - Type
Qualifier - Type
Requirement - Unary
Expression - Union
Specifier - Update
Expression - User
Defined Literal - Using
Declaration - Variadic
Declarator - Variadic
Parameter Declaration - Variadic
Type Parameter Declaration - Virtual
Specifier - While
Statement
Enums§
- Abstract
Array Declarator Size - Abstract
Declarator - Abstract
Function Declarator Children - Abstract
Parenthesized Declarator Children - Abstract
Pointer Declarator Children - Alignas
Qualifier Children - AnyNode
- Argument
List Children - Array
Declarator Declarator - Array
Declarator Size - Assignment
Expression Operator - Assignment
Expression Right - Attributed
Declarator Children - Attributed
Statement Children - Base
Class Clause Children - Binary
Expression Left - Binary
Expression Operator - Binary
Expression Right - Call
Expression Function - Case
Statement Children - Char
Literal Children - Class
Specifier Children - Class
Specifier Name - CoAwait
Expression Operator - Comma
Expression Right - Compound
Literal Expression Type - Compound
Requirement Children - Compound
Statement Children - Concatenated
String Children - Condition
Clause Value - Conditional
Expression Consequence - Constraint
Conjunction Left - Constraint
Conjunction Operator - Constraint
Conjunction Right - Constraint
Disjunction Left - Constraint
Disjunction Operator - Constraint
Disjunction Right - Declaration
Children - Declaration
Declarator - Declaration
List Children - Declaration
Value - Declarator
- Decltype
Children - Dependent
Name Children - Enum
Specifier Base - Enum
Specifier Name - Enumerator
List Children - Expression
- Expression
Statement Children - Field
Declaration Children - Field
Declaration Default Value - Field
Declaration List Children - Field
Declarator - Field
Expression Field - Field
Expression Operator - Field
Initializer Children - Fold
Expression Left - Fold
Expression Operator - Fold
Expression Right - ForRange
Loop Children - ForRange
Loop Right - ForStatement
Condition - ForStatement
Initializer - ForStatement
Update - Friend
Declaration Children - Function
Declarator Children - Function
Declarator Declarator - Function
Definition Body - Function
Definition Children - Function
Definition Declarator - Generic
Expression Children - GnuAsm
Clobber List Register - GnuAsm
Expression Assembly Code - Init
Declarator Value - Init
Statement Children - Initializer
List Children - Initializer
Pair Designator - Initializer
Pair Value - Labeled
Statement Children - Lambda
Capture Specifier Children - Linkage
Specification Body - MsPointer
Modifier Children - Namespace
Alias Definition Children - Namespace
Definition Name - Nested
Namespace Specifier Children - NewExpression
Arguments - Operator
Cast Children - Optional
Parameter Declaration Children - Optional
Parameter Declaration Declarator - Parameter
Declaration Children - Parameter
Declaration Declarator - Parameter
List Children - Parameter
Pack Expansion Pattern - Parenthesized
Declarator Children - Parenthesized
Expression Children - Parse
Error - Placeholder
Type Specifier Children - Pointer
Declarator Children - Pointer
Declarator Declarator - Pointer
Expression Operator - Pointer
Type Declarator Children - Preproc
Elif Alternative - Preproc
Elif Children - Preproc
Elif Condition - Preproc
Elifdef Alternative - Preproc
Elifdef Children - Preproc
Else Children - Preproc
IfAlternative - Preproc
IfChildren - Preproc
IfCondition - Preproc
Ifdef Alternative - Preproc
Ifdef Children - Preproc
Include Path - Qualified
Identifier Name - Qualified
Identifier Scope - RawString
Literal Children - Reference
Declarator Children - Requirement
SeqChildren - Requires
Clause Constraint - Return
Statement Children - SehTry
Statement Children - Simple
Requirement Children - Sized
Type Specifier Type - Statement
- Static
Assert Declaration Message - String
Literal Children - Struct
Specifier Children - Struct
Specifier Name - Subscript
Argument List Children - Template
Argument List Children - Template
Declaration Children - Template
Instantiation Children - Template
Method Name - Template
Parameter List Children - Template
Template Parameter Declaration Children - Translation
Unit Children - TryStatement
Children - Type
Declarator - Type
Definition Children - Type
Requirement Children - Type
Specifier - Unary
Expression Argument - Unary
Expression Operator - Union
Specifier Children - Union
Specifier Name - Update
Expression Operator - User
Defined Literal Children - Using
Declaration Children - Variadic
Parameter Declaration Children - Variadic
Parameter Declaration Declarator