Class: ClangDocumentFixer

ClangDocumentFixer(root_directory_path, optionsopt)

new ClangDocumentFixer(root_directory_path, optionsopt)

constructor
Parameters:
Name Type Attributes Description
root_directory_path string root directory path
options ClangDocumentFixerOptions <optional>
document fixer options
Source:

Methods

fix(document, comments) → {Array.<Object>}

Fix a clang document
Parameters:
Name Type Description
document Object a clang document
comments CppComments C/C++ comments
Source:
Returns:
some new fixed documents (one per filename)
Type
Array.<Object>