[][src]Struct parser::ast::Program

pub struct Program<'t> {
    pub classes: Vec<Spanned<'t, ClassDeclaration<'t>>>,
    pub attrs: Vec<Spanned<'t, Attribute<'t>>>,
}

This is the top-level AST node. It stores all class declarations of the MiniJava program.

Fields

Trait Implementations

impl<'t> PartialEq<Program<'t>> for Program<'t>
[src]

impl<'t> Clone for Program<'t>
[src]

Performs copy-assignment from source. Read more

impl<'t> Eq for Program<'t>
[src]

impl<'t> Debug for Program<'t>
[src]

Auto Trait Implementations

impl<'t> Send for Program<'t>

impl<'t> Sync for Program<'t>

Blanket Implementations

impl<T> From for T
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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