pub struct Python;
Trait Implementations§
Source§impl SupportedLanguage for Python
impl SupportedLanguage for Python
Source§fn query(&self, name: &str) -> String
fn query(&self, name: &str) -> String
Given an identifier(name)
this should produce a string that is the sexp of a query
that finds all matches of function-like things with given name Read more
Source§fn file_exts(&self) -> &'static [&'static str]
fn file_exts(&self) -> &'static [&'static str]
The list of file extensions used for this language.
Source§fn language(&self) -> Language
fn language(&self) -> Language
The
tree_sitter::Language
for this languageimpl Copy for Python
Auto Trait Implementations§
impl Freeze for Python
impl RefUnwindSafe for Python
impl Send for Python
impl Sync for Python
impl Unpin for Python
impl UnwindSafe for Python
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