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:
- Register all type declarations in scope
- Compile other statements
This ensures type declarations are available before definitions that reference them.