pub struct OcamlFrontend;Expand description
OCaml’s source-label stage. Dune projects overlay compiler-libs Typedtree
paths in analyze_semantic_project; standalone source sets retain
conservative module/local resolution and the same graph contract.
Trait Implementations§
Source§impl Default for OcamlFrontend
impl Default for OcamlFrontend
Source§fn default() -> OcamlFrontend
fn default() -> OcamlFrontend
Returns the “default value” for a type. Read more
Source§impl LanguageBackend for OcamlFrontend
impl LanguageBackend for OcamlFrontend
fn language(&self) -> LanguageId
fn extensions(&self) -> &'static [&'static str]
fn analyze_file( &self, context: &FileContext<'_>, source: &str, ) -> FrontendResult<FileAnalysis>
fn analyze_project( &self, context: &ProjectContext<'_>, ) -> FrontendResult<FileAnalysis>
Auto Trait Implementations§
impl DynSend for OcamlFrontend
impl DynSync for OcamlFrontend
impl Freeze for OcamlFrontend
impl RefUnwindSafe for OcamlFrontend
impl Send for OcamlFrontend
impl Sync for OcamlFrontend
impl Unpin for OcamlFrontend
impl UnsafeUnpin for OcamlFrontend
impl UnwindSafe for OcamlFrontend
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