Structures

The following structures are available globally.

  • Describes the availability of a given declaration for each platform.

    See more

    Declaration

    Swift

    public struct Availability
  • Describes a version number of the form <major>.<minor>.<subminor>.

    See more

    Declaration

    Swift

    public struct Version
  • Describes the availability of a given entity on a particular platform, e.g., a particular class might only be available on Mac OS 10.7 or newer.

    See more

    Declaration

    Swift

    public struct PlatformAvailability
  • MARK: Special Types

    See more

    Declaration

    Swift

    public struct RecordType: ClangTypeBacked
  • MARK: Standard Types Represents an invalid type (e.g., where no type is available).

    Declaration

    Swift

    public struct InvalidType: ClangTypeBacked
  • A type whose specific kind is not exposed via this interface.

    Declaration

    Swift

    public struct UnexposedType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct VoidType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct BoolType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct Char_UType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct UCharType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct Char16Type: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct Char32Type: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct UShortType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct UIntType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct ULongType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct ULongLongType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct UInt128Type: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct Char_SType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct SCharType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct WCharType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct ShortType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct IntType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct LongType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct LongLongType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct Int128Type: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct FloatType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct DoubleType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct LongDoubleType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct NullPtrType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct OverloadType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct DependentType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct ObjCIdType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct ObjCClassType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct ObjCSelType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct Float128Type: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct ComplexType: ClangTypeBacked
  • Undocumented

    See more

    Declaration

    Swift

    public struct PointerType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct BlockPointerType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct LValueReferenceType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct RValueReferenceType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct EnumType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct TypedefType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct ObjCInterfaceType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct ObjCObjectPointerType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct FunctionNoProtoType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct FunctionProtoType: ClangTypeBacked
  • Undocumented

    See more

    Declaration

    Swift

    public struct ConstantArrayType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct VectorType: ClangTypeBacked
  • Undocumented

    See more

    Declaration

    Swift

    public struct IncompleteArrayType: ClangTypeBacked
  • Undocumented

    See more

    Declaration

    Swift

    public struct VariableArrayType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct DependentSizedArrayType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct MemberPointerType: ClangTypeBacked
  • Undocumented

    Declaration

    Swift

    public struct AutoType: ClangTypeBacked
  • Represents a type that was referred to using an elaborated type keyword.

    Declaration

    Swift

    public struct ElaboratedType: ClangTypeBacked
  • Undocumented

    See more

    Declaration

    Swift

    public struct FullComment: Comment
  • A plain text comment.

    See more

    Declaration

    Swift

    public struct TextComment: Comment
  • A command with word-like arguments that is considered inline content. For example: \c command

    See more

    Declaration

    Swift

    public struct InlineCommandComment: Comment
  • Describes the attributes in an HTML tag, for example:

    <a href='https://example.org'>
    

    Would have 1 attribute, with a name "href", and value "https://example.org"

    See more

    Declaration

    Swift

    public struct HTMLAttribute
  • An HTML start tag with attributes (name-value pairs). Considered inline content. For example:

    <a href="http://example.org/">
    
    See more

    Declaration

    Swift

    public struct HTMLStartTagComment: Comment
  • An HTML end tag. Considered inline content. For example:

    </a>
    
    See more

    Declaration

    Swift

    public struct HTMLEndTagComment: Comment
  • A paragraph, contains inline comment. The paragraph itself is block content.

    See more

    Declaration

    Swift

    public struct ParagraphComment: Comment
  • A command that has zero or more word-like arguments (number of word-like arguments depends on command name) and a paragraph as an argument. Block command is block content. Paragraph argument is also a child of the block command. For example: \brief has 0 word-like arguments and a paragraph argument. AST nodes of special kinds that parser knows about (e. g., the \param command) have their own node kinds.

    See more

    Declaration

    Swift

    public struct BlockCommandComment: Comment
  • A \param or \arg command that describes the function parameter (name, passing direction, description). For example:

    \param [in] ParamName description.
    
    See more

    Declaration

    Swift

    public struct ParamCommandComment: Comment
  • A \tparam command that describes a template parameter (name and description). For example:

    \tparam T description.
    
    See more

    Declaration

    Swift

    public struct TParamCommandComment: Comment
  • A verbatim block command (e. g., preformatted code). Verbatim block has an opening and a closing command and contains multiple lines of text (VerbatimBlockLine child nodes). For example:

    \verbatim
      aaa
    \endverbatim
    
    See more

    Declaration

    Swift

    public struct VerbatimBlockCommandComment: Comment
  • A line of text that is contained within a VerbatimBlockCommand node.

    See more

    Declaration

    Swift

    public struct VerbatimBlockLineComment: Comment
  • A verbatim line command. Verbatim line has an opening command, a single line of text (up to the newline after the opening command) and has no closing command.

    See more

    Declaration

    Swift

    public struct VerbatimLineComment: Comment
  • Undocumented

    See more

    Declaration

    Swift

    public struct FunctionDecl: ClangCursorBacked
  • A #include directive.

    See more

    Declaration

    Swift

    public struct InclusionDirective: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct StructDecl: RecordDecl
  • Undocumented

    Declaration

    Swift

    public struct ClassDecl: RecordDecl
  • Undocumented

    See more

    Declaration

    Swift

    public struct EnumConstantDecl: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct MacroExpansion: MacroCursor
  • Undocumented

    Declaration

    Swift

    public struct MacroInstantiation: MacroCursor
  • Undocumented

    Declaration

    Swift

    public struct MacroDefinition: MacroCursor
  • An access specifier.

    Declaration

    Swift

    public struct CXXAccessSpecifier: ClangCursorBacked
  • Undocumented

    See more

    Declaration

    Swift

    public struct EnumDecl: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct TypedefDecl: TypeAliasCursor
  • Undocumented

    Declaration

    Swift

    public struct TypeAliasDecl: TypeAliasCursor
  • Undocumented

    Declaration

    Swift

    public struct UsingDirective: TypeAliasCursor
  • Undocumented

    Declaration

    Swift

    public struct UsingDeclaration: TypeAliasCursor
  • MARK: Standard Types Unexposed declarations have the same operations as any other kind of declaration; one can extract their location information, spelling, find their definitions, etc. However, the specific kind of the declaration is not reported. A declaration whose specific kind is not exposed via this interface.

    Declaration

    Swift

    public struct UnexposedDecl: ClangCursorBacked
  • A C or C++ union.

    Declaration

    Swift

    public struct UnionDecl: ClangCursorBacked
  • A field (in C) or non-static data member (in C++) in a struct, union, or C++ class.

    Declaration

    Swift

    public struct FieldDecl: ClangCursorBacked
  • A variable.

    Declaration

    Swift

    public struct VarDecl: ClangCursorBacked
  • A function or method parameter.

    Declaration

    Swift

    public struct ParmDecl: ClangCursorBacked
  • An Objective-C @interface.

    Declaration

    Swift

    public struct ObjCInterfaceDecl: ClangCursorBacked
  • An Objective-C @interface for a category.

    Declaration

    Swift

    public struct ObjCCategoryDecl: ClangCursorBacked
  • An Objective-C @protocol declaration.

    Declaration

    Swift

    public struct ObjCProtocolDecl: ClangCursorBacked
  • An Objective-C @property declaration.

    Declaration

    Swift

    public struct ObjCPropertyDecl: ClangCursorBacked
  • An Objective-C instance variable.

    Declaration

    Swift

    public struct ObjCIvarDecl: ClangCursorBacked
  • An Objective-C instance method.

    Declaration

    Swift

    public struct ObjCInstanceMethodDecl: ClangCursorBacked
  • An Objective-C class method.

    Declaration

    Swift

    public struct ObjCClassMethodDecl: ClangCursorBacked
  • An Objective-C @implementation.

    Declaration

    Swift

    public struct ObjCImplementationDecl: ClangCursorBacked
  • An Objective-C @implementation for a category.

    Declaration

    Swift

    public struct ObjCCategoryImplDecl: ClangCursorBacked
  • A C++ class method.

    Declaration

    Swift

    public struct CXXMethod: ClangCursorBacked
  • A C++ namespace.

    Declaration

    Swift

    public struct Namespace: ClangCursorBacked
  • A linkage specification, e.g. ‘extern C’.

    Declaration

    Swift

    public struct LinkageSpec: ClangCursorBacked
  • A C++ constructor.

    Declaration

    Swift

    public struct Constructor: ClangCursorBacked
  • A C++ destructor.

    Declaration

    Swift

    public struct Destructor: ClangCursorBacked
  • A C++ conversion function.

    Declaration

    Swift

    public struct ConversionFunction: ClangCursorBacked
  • A C++ template type parameter.

    Declaration

    Swift

    public struct TemplateTypeParameter: ClangCursorBacked
  • A C++ non-type template parameter.

    Declaration

    Swift

    public struct NonTypeTemplateParameter: ClangCursorBacked
  • A C++ template template parameter.

    Declaration

    Swift

    public struct TemplateTemplateParameter: ClangCursorBacked
  • A C++ function template.

    Declaration

    Swift

    public struct FunctionTemplate: ClangCursorBacked
  • A C++ class template.

    Declaration

    Swift

    public struct ClassTemplate: ClangCursorBacked
  • A C++ class template partial specialization.

    Declaration

    Swift

    public struct ClassTemplatePartialSpecialization: ClangCursorBacked
  • A C++ namespace alias declaration.

    Declaration

    Swift

    public struct NamespaceAlias: ClangCursorBacked
  • An Objective-C @synthesize definition.

    Declaration

    Swift

    public struct ObjCSynthesizeDecl: ClangCursorBacked
  • An Objective-C @dynamic definition.

    Declaration

    Swift

    public struct ObjCDynamicDecl: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct ObjCSuperClassRef: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct ObjCProtocolRef: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct ObjCClassRef: ClangCursorBacked
  • A reference to a type declaration. A type reference occurs anywhere where a type is named but not declared. For example, given:

    typedef unsigned size_type;
    size_type size;
    

    The typedef is a declaration of size_type (CXCursor_TypedefDecl), while the type of the variable size is referenced. The cursor referenced by the type of size is the typedef for size_type.

    Declaration

    Swift

    public struct TypeRef: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct CXXBaseSpecifier: ClangCursorBacked
  • A reference to a class template, function template, template parameter, or class template partial specialization.

    Declaration

    Swift

    public struct TemplateRef: ClangCursorBacked
  • A reference to a namespace or namespace alias.

    Declaration

    Swift

    public struct NamespaceRef: ClangCursorBacked
  • A reference to a member of a struct, union, or class that occurs in some non-expression context, e.g., a designated initializer.

    Declaration

    Swift

    public struct MemberRef: ClangCursorBacked
  • A reference to a labeled statement. This cursor kind is used to describe the jump to start_over in the goto statement in the following example:

    start_over:
    ++counter;
    
    goto start_over;
    

    A label reference cursor refers to a label statement.

    Declaration

    Swift

    public struct LabelRef: ClangCursorBacked
  • A reference to a set of overloaded functions or function templates that has not yet been resolved to a specific function or function template. An overloaded declaration reference cursor occurs in C++ templates where a dependent name refers to a function. For example:

    template<typename T> void swap(T&, T&);
    
    struct Y { };
    void swap(Y&, Y&);
    

    Here, the identifier swap is associated with an overloaded declaration reference. In the template definition, swap refers to either of the two swap functions declared above, so both results will be available. At instantiation time, swap may also refer to other functions found via argument-dependent lookup (e.g., the swap function at the end of the example).

    Declaration

    Swift

    public struct OverloadedDeclRef: ClangCursorBacked
  • A reference to a variable that occurs in some non-expression context, e.g., a C++ lambda capture list.

    Declaration

    Swift

    public struct VariableRef: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct InvalidFile: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct NoDeclFound: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct NotImplemented: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct InvalidCode: ClangCursorBacked
  • An expression whose specific kind is not exposed via this interface. Unexposed expressions have the same operations as any other kind of expression; one can extract their location information, spelling, children, etc. However, the specific kind of the expression is not reported.

    Declaration

    Swift

    public struct UnexposedExpr: ClangCursorBacked
  • An expression that refers to some value declaration, such as a function, variable, or enumerator.

    Declaration

    Swift

    public struct DeclRefExpr: ClangCursorBacked
  • An expression that refers to a member of a struct, union, class, Objective-C class, etc.

    Declaration

    Swift

    public struct MemberRefExpr: ClangCursorBacked
  • An expression that calls a function.

    See more

    Declaration

    Swift

    public struct CallExpr: ClangCursorBacked
  • An expression that sends a message to an Objective-C object or class.

    See more

    Declaration

    Swift

    public struct ObjCMessageExpr: ClangCursorBacked
  • An expression that represents a block literal.

    Declaration

    Swift

    public struct BlockExpr: ClangCursorBacked
  • An integer literal.

    Declaration

    Swift

    public struct IntegerLiteral: ClangCursorBacked
  • A floating point number literal.

    Declaration

    Swift

    public struct FloatingLiteral: ClangCursorBacked
  • An imaginary number literal.

    Declaration

    Swift

    public struct ImaginaryLiteral: ClangCursorBacked
  • A string literal.

    Declaration

    Swift

    public struct StringLiteral: ClangCursorBacked
  • A character literal.

    Declaration

    Swift

    public struct CharacterLiteral: ClangCursorBacked
  • A parenthesized expression, e.g. (1).

    Note

    This AST node is only formed if full location information is requested.

    Declaration

    Swift

    public struct ParenExpr: ClangCursorBacked
  • This represents the unary-expression’s (except sizeof and alignof).

    Declaration

    Swift

    public struct UnaryOperator: ClangCursorBacked
  • [C99 6.5.2.1] Array Subscripting.

    Declaration

    Swift

    public struct ArraySubscriptExpr: ClangCursorBacked
  • A builtin binary operation expression such as x + y or x <= y.

    Declaration

    Swift

    public struct BinaryOperator: ClangCursorBacked
  • Compound assignment such as +=.

    Declaration

    Swift

    public struct CompoundAssignOperator: ClangCursorBacked
  • The ?: ternary operator.

    Declaration

    Swift

    public struct ConditionalOperator: ClangCursorBacked
  • An explicit cast in C (C99 6.5.4) or a C-style cast in C++ (C++ [expr.cast]), which uses the syntax (Type)expr. For example: (int)f.

    Declaration

    Swift

    public struct CStyleCastExpr: ClangCursorBacked
  • [C99 6.5.2.5]

    Declaration

    Swift

    public struct CompoundLiteralExpr: ClangCursorBacked
  • Describes an C or C++ initializer list.

    Declaration

    Swift

    public struct InitListExpr: ClangCursorBacked
  • The GNU address of label extension, representing &&label.

    Declaration

    Swift

    public struct AddrLabelExpr: ClangCursorBacked
  • This is the GNU Statement Expression extension: ({int X=4; X;})

    Declaration

    Swift

    public struct StmtExpr: ClangCursorBacked
  • Represents a C11 generic selection.

    Declaration

    Swift

    public struct GenericSelectionExpr: ClangCursorBacked
  • Implements the GNU __null extension, which is a name for a null pointer constant that has integral type (e.g., int or long) and is the same size and alignment as a pointer. The __null extension is typically only used by system headers, which define NULL as __null in C++ rather than using 0 (which is an integer that may not match the size of a pointer).

    Declaration

    Swift

    public struct GNUNullExpr: ClangCursorBacked
  • C++‘s static_cast<> expression.

    Declaration

    Swift

    public struct CXXStaticCastExpr: ClangCursorBacked
  • C++‘s dynamic_cast<> expression.

    Declaration

    Swift

    public struct CXXDynamicCastExpr: ClangCursorBacked
  • C++‘s reinterpret_cast<> expression.

    Declaration

    Swift

    public struct CXXReinterpretCastExpr: ClangCursorBacked
  • C++‘s const_cast<> expression.

    Declaration

    Swift

    public struct CXXConstCastExpr: ClangCursorBacked
  • Represents an explicit C++ type conversion that uses functional notion (C++ [expr.type.conv]). Example:

    x = int(0.5);
    

    Declaration

    Swift

    public struct CXXFunctionalCastExpr: ClangCursorBacked
  • A C++ typeid expression (C++ [expr.typeid]).

    Declaration

    Swift

    public struct CXXTypeidExpr: ClangCursorBacked
  • [C++ 2.13.5] C++ Boolean Literal.

    Declaration

    Swift

    public struct CXXBoolLiteralExpr: ClangCursorBacked
  • [C++0x 2.14.7] C++ Pointer Literal.

    Declaration

    Swift

    public struct CXXNullPtrLiteralExpr: ClangCursorBacked
  • Represents the this expression in C++

    Declaration

    Swift

    public struct CXXThisExpr: ClangCursorBacked
  • This handles ‘throw’ and ‘throw’ assignment-expression. When assignment-expression isn’t present, Op will be null. [C++ 15] C++ Throw Expression.

    Declaration

    Swift

    public struct CXXThrowExpr: ClangCursorBacked
  • A new expression for memory allocation and constructor calls, e.g: new CXXNewExpr(foo).

    Declaration

    Swift

    public struct CXXNewExpr: ClangCursorBacked
  • A delete expression for memory deallocation and destructor calls, e.g. delete[] pArray.

    Declaration

    Swift

    public struct CXXDeleteExpr: ClangCursorBacked
  • A unary expression. (noexcept, sizeof, or other traits)

    Declaration

    Swift

    public struct UnaryExpr: ClangCursorBacked
  • An Objective-C string literal i.e. foo.

    Declaration

    Swift

    public struct ObjCStringLiteral: ClangCursorBacked
  • An Objective-C @encode expression.

    Declaration

    Swift

    public struct ObjCEncodeExpr: ClangCursorBacked
  • An Objective-C @selector expression.

    Declaration

    Swift

    public struct ObjCSelectorExpr: ClangCursorBacked
  • An Objective-C @protocol expression.

    Declaration

    Swift

    public struct ObjCProtocolExpr: ClangCursorBacked
  • An Objective-C bridged cast expression, which casts between Objective-C pointers and C pointers, transferring ownership in the process.

    NSString *str = (__bridge_transfer NSString *)CFCreateString();
    

    Declaration

    Swift

    public struct ObjCBridgedCastExpr: ClangCursorBacked
  • Represents a C++0x pack expansion that produces a sequence of expressions. A pack expansion expression contains a pattern (which itself is an expression) followed by an ellipsis. For example:

    template<typename F, typename ...Types>
    void forward(F f, Types &&...args) {
    f(static_cast<Types&&>(args)...);
    }
    

    Declaration

    Swift

    public struct PackExpansionExpr: ClangCursorBacked
  • Represents an expression that computes the length of a parameter pack.

    template<typename ...Types>
    struct count {
    static const unsigned value = sizeof...(Types);
    };
    

    Declaration

    Swift

    public struct SizeOfPackExpr: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct LambdaExpr: ClangCursorBacked
  • Objective-c Boolean Literal.

    Declaration

    Swift

    public struct ObjCBoolLiteralExpr: ClangCursorBacked
  • Represents the self expression in an Objective-C method.

    Declaration

    Swift

    public struct ObjCSelfExpr: ClangCursorBacked
  • OpenMP 4.0 [2.4, Array Section].

    Declaration

    Swift

    public struct OMPArraySectionExpr: ClangCursorBacked
  • Represents an @available(…) check.

    Declaration

    Swift

    public struct ObjCAvailabilityCheckExpr: ClangCursorBacked
  • Unexposed statements have the same operations as any other kind of statement; one can extract their location information, spelling, children, etc. However, the specific kind of the statement is not reported. A statement whose specific kind is not exposed via this interface.

    Declaration

    Swift

    public struct UnexposedStmt: ClangCursorBacked
  • A labelled statement in a function. This cursor kind is used to describe the start_over: label statement in the following example:

    start_over:
    ++counter;
    

    Declaration

    Swift

    public struct LabelStmt: ClangCursorBacked
  • A group of statements like { stmt stmt }. This cursor kind is used to describe compound statements, e.g. function bodies.

    Declaration

    Swift

    public struct CompoundStmt: ClangCursorBacked
  • A case statement.

    Declaration

    Swift

    public struct CaseStmt: ClangCursorBacked
  • A default statement.

    Declaration

    Swift

    public struct DefaultStmt: ClangCursorBacked
  • An if statement

    Declaration

    Swift

    public struct IfStmt: ClangCursorBacked
  • A switch statement.

    Declaration

    Swift

    public struct SwitchStmt: ClangCursorBacked
  • A while statement.

    Declaration

    Swift

    public struct WhileStmt: ClangCursorBacked
  • A do statement.

    Declaration

    Swift

    public struct DoStmt: ClangCursorBacked
  • A for statement.

    Declaration

    Swift

    public struct ForStmt: ClangCursorBacked
  • A goto statement.

    Declaration

    Swift

    public struct GotoStmt: ClangCursorBacked
  • An indirect goto statement.

    Declaration

    Swift

    public struct IndirectGotoStmt: ClangCursorBacked
  • A continue statement.

    Declaration

    Swift

    public struct ContinueStmt: ClangCursorBacked
  • A break statement.

    Declaration

    Swift

    public struct BreakStmt: ClangCursorBacked
  • A return statement.

    Declaration

    Swift

    public struct ReturnStmt: ClangCursorBacked
  • A GCC inline assembly statement extension.

    Declaration

    Swift

    public struct GCCAsmStmt: ClangCursorBacked
  • A GCC inline assembly statement extension.

    Declaration

    Swift

    public struct AsmStmt: ClangCursorBacked
  • Objective-C’s overall @try-@catch-@finally statement.

    Declaration

    Swift

    public struct ObjCAtTryStmt: ClangCursorBacked
  • Objective-C’s @catch statement.

    Declaration

    Swift

    public struct ObjCAtCatchStmt: ClangCursorBacked
  • Objective-C’s @finally statement.

    Declaration

    Swift

    public struct ObjCAtFinallyStmt: ClangCursorBacked
  • Objective-C’s @throw statement.

    Declaration

    Swift

    public struct ObjCAtThrowStmt: ClangCursorBacked
  • Objective-C’s @synchronized statement.

    Declaration

    Swift

    public struct ObjCAtSynchronizedStmt: ClangCursorBacked
  • Objective-C’s autorelease pool statement.

    Declaration

    Swift

    public struct ObjCAutoreleasePoolStmt: ClangCursorBacked
  • Objective-C’s collection statement.

    Declaration

    Swift

    public struct ObjCForCollectionStmt: ClangCursorBacked
  • C++‘s catch statement.

    Declaration

    Swift

    public struct CXXCatchStmt: ClangCursorBacked
  • C++‘s try statement.

    Declaration

    Swift

    public struct CXXTryStmt: ClangCursorBacked
  • C++‘s for (* : *) statement.

    Declaration

    Swift

    public struct CXXForRangeStmt: ClangCursorBacked
  • Windows Structured Exception Handling’s try statement.

    Declaration

    Swift

    public struct SEHTryStmt: ClangCursorBacked
  • Windows Structured Exception Handling’s except statement.

    Declaration

    Swift

    public struct SEHExceptStmt: ClangCursorBacked
  • Windows Structured Exception Handling’s finally statement.

    Declaration

    Swift

    public struct SEHFinallyStmt: ClangCursorBacked
  • A MS inline assembly statement extension.

    Declaration

    Swift

    public struct MSAsmStmt: ClangCursorBacked
  • This cursor kind is used to describe the null statement. The null statement ;: C99 6.8.3p3.

    Declaration

    Swift

    public struct NullStmt: ClangCursorBacked
  • Adaptor class for mixing declarations with statements and expressions.

    Declaration

    Swift

    public struct DeclStmt: ClangCursorBacked
  • OpenMP parallel directive.

    Declaration

    Swift

    public struct OMPParallelDirective: ClangCursorBacked
  • OpenMP SIMD directive.

    Declaration

    Swift

    public struct OMPSimdDirective: ClangCursorBacked
  • OpenMP for directive.

    Declaration

    Swift

    public struct OMPForDirective: ClangCursorBacked
  • OpenMP sections directive.

    Declaration

    Swift

    public struct OMPSectionsDirective: ClangCursorBacked
  • OpenMP section directive.

    Declaration

    Swift

    public struct OMPSectionDirective: ClangCursorBacked
  • OpenMP single directive.

    Declaration

    Swift

    public struct OMPSingleDirective: ClangCursorBacked
  • OpenMP parallel for directive.

    Declaration

    Swift

    public struct OMPParallelForDirective: ClangCursorBacked
  • OpenMP parallel sections directive.

    Declaration

    Swift

    public struct OMPParallelSectionsDirective: ClangCursorBacked
  • OpenMP task directive.

    Declaration

    Swift

    public struct OMPTaskDirective: ClangCursorBacked
  • OpenMP master directive.

    Declaration

    Swift

    public struct OMPMasterDirective: ClangCursorBacked
  • OpenMP critical directive.

    Declaration

    Swift

    public struct OMPCriticalDirective: ClangCursorBacked
  • OpenMP taskyield directive.

    Declaration

    Swift

    public struct OMPTaskyieldDirective: ClangCursorBacked
  • OpenMP barrier directive.

    Declaration

    Swift

    public struct OMPBarrierDirective: ClangCursorBacked
  • OpenMP taskwait directive.

    Declaration

    Swift

    public struct OMPTaskwaitDirective: ClangCursorBacked
  • OpenMP flush directive.

    Declaration

    Swift

    public struct OMPFlushDirective: ClangCursorBacked
  • Windows Structured Exception Handling’s leave statement.

    Declaration

    Swift

    public struct SEHLeaveStmt: ClangCursorBacked
  • OpenMP ordered directive.

    Declaration

    Swift

    public struct OMPOrderedDirective: ClangCursorBacked
  • OpenMP atomic directive.

    Declaration

    Swift

    public struct OMPAtomicDirective: ClangCursorBacked
  • OpenMP for SIMD directive.

    Declaration

    Swift

    public struct OMPForSimdDirective: ClangCursorBacked
  • OpenMP parallel for SIMD directive.

    Declaration

    Swift

    public struct OMPParallelForSimdDirective: ClangCursorBacked
  • OpenMP target directive.

    Declaration

    Swift

    public struct OMPTargetDirective: ClangCursorBacked
  • OpenMP teams directive.

    Declaration

    Swift

    public struct OMPTeamsDirective: ClangCursorBacked
  • OpenMP taskgroup directive.

    Declaration

    Swift

    public struct OMPTaskgroupDirective: ClangCursorBacked
  • OpenMP cancellation point directive.

    Declaration

    Swift

    public struct OMPCancellationPointDirective: ClangCursorBacked
  • OpenMP cancel directive.

    Declaration

    Swift

    public struct OMPCancelDirective: ClangCursorBacked
  • OpenMP target data directive.

    Declaration

    Swift

    public struct OMPTargetDataDirective: ClangCursorBacked
  • OpenMP taskloop directive.

    Declaration

    Swift

    public struct OMPTaskLoopDirective: ClangCursorBacked
  • OpenMP taskloop simd directive.

    Declaration

    Swift

    public struct OMPTaskLoopSimdDirective: ClangCursorBacked
  • OpenMP distribute directive.

    Declaration

    Swift

    public struct OMPDistributeDirective: ClangCursorBacked
  • OpenMP target enter data directive.

    Declaration

    Swift

    public struct OMPTargetEnterDataDirective: ClangCursorBacked
  • OpenMP target exit data directive.

    Declaration

    Swift

    public struct OMPTargetExitDataDirective: ClangCursorBacked
  • OpenMP target parallel directive.

    Declaration

    Swift

    public struct OMPTargetParallelDirective: ClangCursorBacked
  • OpenMP target parallel for directive.

    Declaration

    Swift

    public struct OMPTargetParallelForDirective: ClangCursorBacked
  • OpenMP target update directive.

    Declaration

    Swift

    public struct OMPTargetUpdateDirective: ClangCursorBacked
  • OpenMP distribute parallel for directive.

    Declaration

    Swift

    public struct OMPDistributeParallelForDirective: ClangCursorBacked
  • OpenMP distribute parallel for simd directive.

    Declaration

    Swift

    public struct OMPDistributeParallelForSimdDirective: ClangCursorBacked
  • OpenMP distribute simd directive.

    Declaration

    Swift

    public struct OMPDistributeSimdDirective: ClangCursorBacked
  • OpenMP target parallel for simd directive.

    Declaration

    Swift

    public struct OMPTargetParallelForSimdDirective: ClangCursorBacked
  • Cursor that represents the translation unit itself. The translation unit cursor exists primarily to act as the root cursor for traversing the contents of a translation unit.

    Declaration

    Swift

    public struct TranslationUnitCursor: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct UnexposedAttr: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct IBActionAttr: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct IBOutletAttr: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct IBOutletCollectionAttr: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct CXXFinalAttr: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct CXXOverrideAttr: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct AnnotateAttr: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct AsmLabelAttr: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct PackedAttr: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct PureAttr: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct ConstAttr: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct NoDuplicateAttr: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct CUDAConstantAttr: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct CUDADeviceAttr: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct CUDAGlobalAttr: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct CUDAHostAttr: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct CUDASharedAttr: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct VisibilityAttr: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct DLLExport: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct DLLImport: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct PreprocessingDirective: ClangCursorBacked
  • A module import declaration.

    Declaration

    Swift

    public struct ModuleImportDecl: ClangCursorBacked
  • Undocumented

    Declaration

    Swift

    public struct TypeAliasTemplateDecl: ClangCursorBacked
  • A static_assert or _Static_assert node

    Declaration

    Swift

    public struct StaticAssert: ClangCursorBacked
  • A code completion overload candidate.

    Declaration

    Swift

    public struct OverloadCandidate: ClangCursorBacked
  • Options to control the display of diagnostics. The values in this enum are meant to be combined to customize the behavior of clang_formatDiagnostic().

    See more

    Declaration

    Swift

    public struct DiagnosticDisplayOptions: OptionSet
  • Represents a file ID that’s unique to each file in a translation unit.

    See more

    Declaration

    Swift

    public struct UniqueFileID: Equatable, Hashable
  • A particular source file that is part of a translation unit.

    See more

    Declaration

    Swift

    public struct File: Equatable, Hashable
  • Property attributes for an Objective-C @property declaration.

    See more

    Declaration

    Swift

    public struct ObjCPropertyAttributes: OptionSet
  • Global options used to inform the Index.

    See more

    Declaration

    Swift

    public struct GlobalOptions: OptionSet
  • Flags that control the creation of translation units. The enumerators in this enumeration type are meant to be bitwise ORed together to specify which options should be used when constructing the translation unit.

    See more

    Declaration

    Swift

    public struct TranslationUnitOptions: OptionSet