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