mylang_lexer::result

Type Alias LexResult

source
pub type LexResult<T> = Result<T, LexErr>;
Expand description

字句解析の結果

Aliased Type§

enum LexResult<T> {
    Ok(T),
    Err(LexErr),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(LexErr)

Contains the error value