Struct rush_analyzer::ast::AnalyzedProgram
source · pub struct AnalyzedProgram<'src> {
pub globals: Vec<AnalyzedLetStmt<'src>>,
pub functions: Vec<AnalyzedFunctionDefinition<'src>>,
pub main_fn: AnalyzedBlock<'src>,
pub used_builtins: HashSet<&'src str>,
}Fields§
§globals: Vec<AnalyzedLetStmt<'src>>§functions: Vec<AnalyzedFunctionDefinition<'src>>§main_fn: AnalyzedBlock<'src>§used_builtins: HashSet<&'src str>Trait Implementations§
source§impl<'src> Clone for AnalyzedProgram<'src>
impl<'src> Clone for AnalyzedProgram<'src>
source§fn clone(&self) -> AnalyzedProgram<'src>
fn clone(&self) -> AnalyzedProgram<'src>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more