Skip to main content
Module

x/libclang/mod.ts>CXRemapping

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

A remapping of original source files and their translated files.

Constructors

new
CXRemapping(fileNames: string | string[])

Retrieve a remapping.

Properties

readonly
length: number

The number of remappings.

Methods

dispose(): void

Dispose the remapping.

It is not strictly necessary to call this method. The memory will be released as part of JavaScript garbage collection.

getFileNames(index: number): { original: string; transformed: string; }

Get the original and the associated filename from this remapping.