Note

You are not reading the most recent version of this documentation. 1.4.7 is the latest version available.

C-Like Code Index

JSONReference
Properties:$ref (String) –
AccessSpecifier

If this declaration is contained within a RecordDecl, the C++ access specifier that specifies the level of access that is permitted to this object. Note that private declarations are omitted from the code index.

Enum:public, protected, private
AnyDecl
One Of:
BaseClass
All Of:

BaseNode

Properties:
BaseNode
Properties:
ConstructorDecl
All Of:

NamedDecl

Properties:
EnumDecl
All Of:

NamedDecl

Properties:
EnumClassDecl
All Of:

NamedDecl

Properties:
EnumConstantDecl
All Of:NamedDecl
Properties:kind ("EnumConstantDecl") –
FieldDecl

A single field of a C++ class or struct (e.g. int field_x;).

All Of:

NamedDecl

Properties:
FunctionDecl

A top-level function declaration. See MethodDecl for the representation of a member of a C++ struct or class.

All Of:

NamedDecl

Properties:
FunctionFlag
Enum:const, override, inline, pure_virtual, static, virtual
GeneratedFile
All Of:

BaseNode

Properties:
  • kind ("GeneratedFile") –
  • declarations (Array[AnyDecl]) –
  • header_output_path (String) –
  • implementation_output_path (String) –
  • include_path (String) –
Index

This is the root element of the generated code index for C-like languages.

All Of:Index
Properties:generated (Array[GeneratedFile]) – The list of generated files when the packages listed in included_packages are generated.
MethodDecl

Represents a method of a C++ class/struct. This can only appear as the child of a RecordDecl.

All Of:

NamedDecl

Properties:
NamedDecl
All Of:

BaseNode

Properties:
  • access_specifier (AccessSpecifier) –
  • name (String) – The unqualified name, excluding any namespace or scope qualifiers: e.g. duration.
  • fully_qualified_name (String) – The fully-qualified name, including any namespace or scope qualifiers: e.g. std::chrono::duration.
NamespaceDecl
All Of:

NamedDecl

Properties:
NodeKind
Enum:FieldDecl, RecordDecl, MethodDecl, ParameterDecl
ParameterDecl
All Of:

BaseNode

Properties:
  • declared_type (QualifiedType) –
  • fully_qualified_name (String) –
  • kind ("ParameterDecl") –
  • name (String) –
QualifiedType
All Of:

BaseNode

Properties:
  • kind ("QualifiedType") –
  • rendered (String) –
  • simple_type_reference (JSONReference) –
RecordDecl
All Of:

NamedDecl

Properties:
RecordKind
Enum:class, struct, union