pub struct OCaml;
Trait Implementations§
Source§impl SupportedLanguage for OCaml
impl SupportedLanguage for OCaml
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 OCaml
Auto Trait Implementations§
impl Freeze for OCaml
impl RefUnwindSafe for OCaml
impl Send for OCaml
impl Sync for OCaml
impl Unpin for OCaml
impl UnwindSafe for OCaml
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