Crate clang

source · []
Expand description

A somewhat idiomatic Rust wrapper for libclang.

Modules

Code completion.

Issues with source files.

Comments.

Finding C declarations.

Source files, locations, and ranges.

Lexed pieces of source files.

Structs

An empty type which prevents the use of this library from multiple threads simultaneously.

A compilation database of all information used to compile files in a project.

A compile comand from CompilationDatabase

The result of a search in a CompilationDatabase

An AST entity.

An external_source_symbol attribute.

A collection of translation units.

Indicates which attributes were applied to an Objective-C property.

Indicates which qualifiers were applied to an Objective-C method return or parameter type.

Parses translation units.

The availability of an AST entity on a particular platform.

Pretty prints declarations.

Information about the target for a translation unit.

A set of options that determines which types of threads should use background priority.

A preprocessed and parsed source file.

The type of an AST entity.

The path to and unsaved contents of a previously existing file.

A Unified Symbol Resolution (USR).

A version number in the form x.y.z.

Enums

Indicates the accessibility of a declaration or base class specifier.

Indicates the error that prevented determining the alignment of a type.

Indicates the availability of an AST entity.

Indicates the calling convention specified for a function type.

Indicates the categorization of an AST entity.

Indicates how a entity visitation should proceed.

The result of evaluating an expression.

Indicates the exception specification of a function.

Indicates the language used by a declaration.

Indicates the linkage of an AST entity.

Indicates the usage category of a quantity of memory.

Indicates the nullability of a pointer type.

Indicates the error that prevented determining the offset of a field in a record type.

Flags for the printing policy.

Indicates the ref qualifier of a C++ function or method type.

Indicates the type of error that prevented the saving of a translation unit to an AST file.

Indicates the error that prevented determining the size of a type.

Indicates the type of error that prevented the loading of a translation unit from a source file.

Indicates the storage class of a declaration.

An argument to a template function specialization.

Indicates the thread-local storage (TLS) kind of a declaration.

Indicates the categorization of a type.

Indicates the linker visibility of an AST element.

Functions

Returns the version string for the version of libclang in use.