Package com.tonic.analysis.source.lower
Lowering an AST back into the SSA IR.
-
Class Summary Class Description ASTLowerer Facade that lowers a source-level AST method body into SSA IR ready for bytecode emission.ExpressionLowerer Lowers AST Expression nodes to IR instructions.LoweringContext Shared mutable state for AST-to-IR lowering: variable bindings, the current block, and break/continue targets.LoweringContext.LoopTargets Loop target information for break/continue.ReverseOperatorMapper Maps AST operators to IR operators (reverse of OperatorMapper in recovery).StatementLowerer Lowers AST Statement nodes to IR instructions and blocks.SyntheticArrayConstructor A synthetic array-allocating method pending materialization; its descriptor takes a single int length and returns the array type.SyntheticLambdaMethod A lambda body pending materialization as a synthetic class method, with its captured variables and declared parameters.SyntheticLambdaMethod.CapturedVariable A variable captured from the enclosing scope, by name and type.TypeResolver Resolves source-level type, field and method references to JVM names and descriptors, consulting the class being lowered, the class pool and the running JVM in that order. -
Exception Summary Exception Description LoweringException Unchecked exception raised when AST lowering cannot proceed.