Trait glsl_lang_lexer::LangLexerIterator

source ·
pub trait LangLexerIterator: Iterator<Item = Result<(LexerPosition, Token, LexerPosition), Self::Error>> + HasLexerError {
    // Required method
    fn resolve_err(
        &self,
        err: ParseError<LexerPosition, Token, Self::Error>,
    ) -> ParseError<Self::Error>;
}
Expand description

GLSL language lexer iterator

Required Methods§

source

fn resolve_err( &self, err: ParseError<LexerPosition, Token, Self::Error>, ) -> ParseError<Self::Error>

Implementors§

source§

impl<'i> LangLexerIterator for glsl_lang_lexer::v2_full::str::LexerIterator<'i>

source§

impl<'r, 'p, F: FileSystem> LangLexerIterator for glsl_lang_lexer::v2_full::fs::LexerIterator<'r, 'p, F>