Overview
-
module FFI-
module Clang-
class CodeCompletion-
class ResultsRepresents code completion results.
-
class ResultRepresents a single code completion result.
-
class StringRepresents a code completion string with chunks.
-
class CommentRepresents a documentation comment in parsed source code.
-
class HTMLTagCommentRepresents an HTML tag in a documentation comment.
-
class HTMLStartTagCommentRepresents an HTML start tag in a documentation comment.
-
class HTMLEndTagCommentRepresents an HTML end tag in a documentation comment.
-
class ParagraphCommentRepresents a paragraph comment containing text and inline content.
-
class TextCommentRepresents a plain text comment.
-
class InlineCommandCommentRepresents an inline command comment (e.g., \c, \p).
-
class BlockCommandCommentRepresents a block command comment (e.g., \brief, \return).
-
class ParamCommandCommentRepresents a parameter documentation command (e.g., \param, \arg).
-
class TParamCommandCommentRepresents a template parameter documentation command (e.g., \tparam).
-
class VerbatimBlockCommandCommentRepresents a verbatim block command comment (e.g., \code, \verbatim).
-
class VerbatimBlockLineCommentRepresents a line within a verbatim block comment.
-
class VerbatimLineRepresents a verbatim line comment (e.g., \code on a single line).
-
class FullCommentRepresents a complete documentation comment with all its components.
-
class CompilationDatabaseRepresents a compilation database for a project.
-
class DatabaseLoadErrorRepresents an error loading the compilation database.
-
class CompileCommandsRepresents a collection of compile commands.
-
class CompileCommandRepresents a single compile command.
-
-
class CursorRepresents a cursor in the abstract syntax tree (AST).
-
class PlatformAvailabilityRepresents platform availability information for a cursor.
-
class DiagnosticRepresents a diagnostic message from the compiler.
-
class ErrorRepresents an error that occurred during libclang operations.
-
class FileRepresents a file in a translation unit.
-
class IndexRepresents a libclang index that manages translation units and provides a top-level context for parsing.
-
module Lib-
class CXCompletionResult- private
FFI struct representing a single code completion result from libclang.
-
class CXCodeCompleteResults- private
FFI struct representing the results of code completion from libclang.
-
class CXComment- private
FFI struct representing a comment in the libclang AST.
-
class CXCursor- private
FFI struct representing a cursor in the libclang AST.
-
class CXVersion- private
FFI struct representing a version number with major, minor, and subminor components.
-
class CXPlatformAvailability- private
FFI struct representing platform-specific availability information.
-
class CXCursorAndRangeVisitor- private
FFI struct for visiting cursors and ranges.
-
class CXUnsavedFile- private
FFI struct representing an unsaved file for parsing.
-
class CXFileUniqueID- private
FFI struct representing a unique file identifier.
-
class CXIndexOptions- private
FFI struct for index creation options (libclang 17.0.0+).
-
class CXSourceLocation- private
FFI struct representing a source location in libclang.
-
class CXSourceRange- private
FFI struct representing a source range in libclang.
-
class CXString- private
FFI struct representing a string returned by libclang.
-
class CXToken- private
FFI struct representing a token in libclang.
-
class TokensPointer- private
FFI pointer wrapper for token arrays that tracks size and translation unit.
-
class CXTUResourceUsage- private
FFI struct representing translation unit resource usage.
-
class CXTUResourceUsageEntry- private
FFI struct representing a single resource usage entry.
-
class CXType- private
FFI struct representing a type in libclang.
-
each
-
-
class PrintingPolicyRepresents a printing policy that controls how declarations are formatted.
-
class SourceLocationRepresents a location in source code.
-
class ExpansionLocationRepresents the expansion location of a macro.
-
class PresumedLocationRepresents a presumed location in source code.
-
class SpellingLocationRepresents the spelling location of a token in source code.
-
class FileLocationRepresents a file location in source code.
-
class SourceRangeRepresents a source range in a file.
-
class TokensRepresents a collection of tokens from a source range.
-
class TokenRepresents a single token in the source code.
-
class TranslationUnitRepresents a single translation unit (a compiled source file with its dependencies).
-
class ResourceUsageRepresents resource usage statistics for a translation unit.
-
module TypesType system classes for representing C/C++ types.
-
class ArrayRepresents an array type.
-
class ElaboratedRepresents an elaborated type (e.g., struct, union, enum with an elaborated type specifier).
-
class FunctionRepresents a function type.
-
class PointerRepresents a pointer type.
-
class RecordRepresents a record type (struct or union).
-
class TypeRepresents a type in the C/C++ type system.
-
class TypeDefRepresents a typedef type.
-
class VectorRepresents a vector type (SIMD vector).
-
-
class UnsavedFileRepresents an unsaved file with in-memory contents for parsing.
-