Skip to main content
Module

x/libclang/mod.ts>CXModule

Deno FFI bindings for libclang
Latest
class CXModule
import { CXModule } from "https://deno.land/x/libclang@1.0.0-beta.8/mod.ts";

Methods

Get the module file where this module object came from.

getFullName(): string

Get the full name of this module, e.g. "std.vector".

getName(): string

Get the name of this module, e.g. for the std.vector sub-module it will return "vector".

Get the number of top level headers associated with this module.

Get the parent of this sub-module or null if it is top-level, e.g. for 'std.vector' it will return the 'std' module.

getTopLevelHeader(index: number): CXFile
isSystem(): boolean

Returns true if this module is a system one.