Enum tagua_parser::ast::Statement [] [src]

pub enum Statement<'a> {
    Function(Function<'a>),
    Return,
}

A statement.

Variants

A function declaration.

A return.

Trait Implementations

impl<'a> Debug for Statement<'a>
[src]

Formats the value using the given formatter.

impl<'a> PartialEq for Statement<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.