Module: Stone::AST::TwoPhaseProcessing

Included in:
Block, ProgramUnit::TopFunction
Defined in:
lib/stone/ast/two_phase_processing.rb

Overview

Mixin for AST nodes that process statements in two phases:

  1. Register all type declarations in scope
  2. Compile other statements

This ensures type declarations are available before definitions that reference them.