pub struct CLIInput {
pub input_path: String,
pub input_name: String,
pub output_path: String,
pub output_format: OutputFormat,
pub optimization: u32,
pub print_tokens: bool,
pub print_ast: bool,
pub verbose: u32,
}
Expand description
CLI input configuration and parameters.
Fields§
§input_path: String
Path to .yot
input file.
input_name: String
input_path
file name without file extension.
output_path: String
Path to output file.
output_format: OutputFormat
Format of output file.
optimization: u32
Optimization level (0-3)
print_tokens: bool
Whether or not raw tokens should be printed.
print_ast: bool
Whether or not raw AST should be printed.
verbose: u32
Whether to filter logs or not.
Auto Trait Implementations§
impl Freeze for CLIInput
impl RefUnwindSafe for CLIInput
impl Send for CLIInput
impl Sync for CLIInput
impl Unpin for CLIInput
impl UnwindSafe for CLIInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more