pub struct GoParser;Expand description
Go language parser.
Implementations§
Trait Implementations§
Source§impl LanguageParser for GoParser
impl LanguageParser for GoParser
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 GoParser
impl RefUnwindSafe for GoParser
impl Send for GoParser
impl Sync for GoParser
impl Unpin for GoParser
impl UnsafeUnpin for GoParser
impl UnwindSafe for GoParser
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