Struct espr::ast::Function [−][src]
pub struct Function {
pub name: String,
pub parameters: Vec<FormalParameter>,
pub declarations: Vec<Declaration>,
pub constants: Vec<Constant>,
pub variables: Vec<LocalVariable>,
pub statements: Vec<Statement>,
pub return_type: Type,
}
Fields
name: String
parameters: Vec<FormalParameter>
declarations: Vec<Declaration>
constants: Vec<Constant>
variables: Vec<LocalVariable>
statements: Vec<Statement>
return_type: Type
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Function
impl UnwindSafe for Function
Blanket Implementations
Mutably borrows from an owned value. Read more