evaluate method

  1. @override
void evaluate(
  1. SymbolTable table
)
override

Evaluates all function declarations in the list.

Iterates through each function declaration and evaluates it, which generates the LLVM IR for that function's implementation.

Parameters:

  • table: The global symbol table for function registration

Implementation

@override
void evaluate(SymbolTable table) {
  for (var func in funcs) {
    func.evaluate(table);
  }
}