[][src]Struct yotc::CLIInput

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,
}

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.