Module rusterm::lex [−][src]
Expand description
Module containing lexing and tokenising functionality for turning scanned user input into something that can be operated on by the commands.
Enums
The enum containing the different variants of possible arguments. Can be converted into String
, i32
, or f64
, depending on the variant.
Traits
For popping the first argument from the Arguments
Vec, and returning it, or returning an error from brc::error::Error
. To be used with try_into()
to convert it to the expected type.
Functions
Lexes and tokenises the scanned user input into variants of Argument
.
Type Definitions
Arguments type to represent a Vec with Argument
s in it.