pub struct GsglParser { /* private fields */ }Expand description
Parser for the GSGL language.
Implementations§
Source§impl GsglParser
impl GsglParser
Sourcepub fn new(config: GsglLanguage) -> Self
pub fn new(config: GsglLanguage) -> Self
Creates a new GsglParser.
Trait Implementations§
Source§impl Parser<GsglLanguage> for GsglParser
impl Parser<GsglLanguage> for GsglParser
Source§fn parse<'a, S: Source + ?Sized>(
&self,
text: &'a S,
edits: &[TextEdit],
cache: &'a mut impl ParseCache<GsglLanguage>,
) -> ParseOutput<'a, GsglLanguage>
fn parse<'a, S: Source + ?Sized>( &self, text: &'a S, edits: &[TextEdit], cache: &'a mut impl ParseCache<GsglLanguage>, ) -> ParseOutput<'a, GsglLanguage>
The core parsing entry point for converting tokens into a syntax tree. Read more
Auto Trait Implementations§
impl Freeze for GsglParser
impl RefUnwindSafe for GsglParser
impl Send for GsglParser
impl Sync for GsglParser
impl Unpin for GsglParser
impl UnsafeUnpin for GsglParser
impl UnwindSafe for GsglParser
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