Module oursh::program::posix::lex [−][src]
Expand description
Custom LALRPOP lexer for tokenizing the input stream.
use oursh::program::posix::lex::Lexer; for span in Lexer::new("ls -la | wc") { let (start, token, end) = span.unwrap(); println!("{:?}", token); }
Structs
A lexer to feed the parser gernerated by LALRPOP.
Enums
Type Definitions
A result type wrapping a token with start and end locations.