pub struct PrologParser<'a> { /* private fields */ }Implementations§
Source§impl<'a> PrologParser<'a>
impl<'a> PrologParser<'a>
pub fn new(language: &'a PrologLanguage) -> Self
Trait Implementations§
Source§impl<'a> Parser<PrologLanguage> for PrologParser<'a>
impl<'a> Parser<PrologLanguage> for PrologParser<'a>
Source§fn parse<'s, S: Source + ?Sized>(
&self,
text: &'s S,
edits: &[TextEdit],
cache: &'s mut impl ParseCache<PrologLanguage>,
) -> ParseOutput<'s, PrologLanguage>
fn parse<'s, S: Source + ?Sized>( &self, text: &'s S, edits: &[TextEdit], cache: &'s mut impl ParseCache<PrologLanguage>, ) -> ParseOutput<'s, PrologLanguage>
The core parsing entry point. Read more
Auto Trait Implementations§
impl<'a> Freeze for PrologParser<'a>
impl<'a> RefUnwindSafe for PrologParser<'a>
impl<'a> Send for PrologParser<'a>
impl<'a> Sync for PrologParser<'a>
impl<'a> Unpin for PrologParser<'a>
impl<'a> UnwindSafe for PrologParser<'a>
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