[][src]Struct zypo_rs::ZypoCLI

pub struct ZypoCLI {
    pub file: PathBuf,
    pub ast_gen: bool,
    pub output: Option<String>,
}

Welcome to the refrence compiler for the Zypo programming language!

Fields

file: PathBuf

A given .zy file to compile.

ast_gen: bool

Outputs the full abstract syntax tree (AST) representation. This is not usually used as the output can be very long and will have to parse the input twice.

output: Option<String>

An over-ride option for naming the output file. The compiler should name the output by a dynamic name (from file) or the standard Zypo output name.

Trait Implementations

impl Debug for ZypoCLI[src]

impl StructOpt for ZypoCLI[src]

Auto Trait Implementations

impl Send for ZypoCLI

impl Unpin for ZypoCLI

impl Sync for ZypoCLI

impl UnwindSafe for ZypoCLI

impl RefUnwindSafe for ZypoCLI

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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