pub trait Parse: HasParser {
    fn parse<'i, L: LangLexer<'i>>(
        source: L::Input
    ) -> Result<Self, ParseError<<L::Iter as HasLexerError>::Error>>; fn parse_with_options<'i, L: LangLexer<'i>>(
        source: L::Input,
        opts: &ParseOptions
    ) -> ParseResult<L::Iter, <L::Iter as HasLexerError>::Error, Self>; fn parse_with_context<'i, L: LangLexer<'i>>(
        source: L::Input,
        ctx: &ParseContext
    ) -> ParseResult<L::Iter, <L::Iter as HasLexerError>::Error, Self>; }
Expand description

GLSL language parsing functions

Required Methods

Parse the input source

Parse the input source with the given options

Parse the input source with the given context

Implementors