pub struct CppParser;Expand description
C++ language parser.
Implementations§
Trait Implementations§
Source§impl LanguageParser for CppParser
impl LanguageParser for CppParser
Source§fn extract_units(
&self,
tree: &Tree,
source: &str,
file_path: &Path,
) -> AcbResult<Vec<RawCodeUnit>>
fn extract_units( &self, tree: &Tree, source: &str, file_path: &Path, ) -> AcbResult<Vec<RawCodeUnit>>
Extract code units from a parsed tree.
Auto Trait Implementations§
impl Freeze for CppParser
impl RefUnwindSafe for CppParser
impl Send for CppParser
impl Sync for CppParser
impl Unpin for CppParser
impl UnsafeUnpin for CppParser
impl UnwindSafe for CppParser
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more