Struct clang::Index
[−]
[src]
pub struct Index<'c> { // some fields omitted }
A collection of translation units.
Methods
impl<'c> Index<'c>
[src]
fn new(_: &'c Clang, exclude: bool, diagnostics: bool) -> Index<'c>
Constructs a new Index
.
exclude
determines whether declarations from precompiled headers are excluded and
diagnostics
determines whether diagnostics are printed while parsing source files.
fn get_thread_options(&self) -> ThreadOptions
Returns the thread options for this index.
fn set_thread_options(&mut self, options: ThreadOptions)
Sets the thread options for this index.