Class LiteralGenerator
java.lang.Object
org.ek9lang.compiler.phase7.generator.LiteralGenerator
- All Implemented Interfaces:
Function<LiteralProcessingDetails,
List<IRInstr>>
final class LiteralGenerator
extends Object
implements Function<LiteralProcessingDetails,List<IRInstr>>
Deals with generating the correct IR Instructions for processing any form of literal.
Memory management is handled by the higher-level expression processor.
MIGRATED: Now uses IRInstructionBuilder with original IRContext access via stack infrastructure.
-
Constructor Details
-
LiteralGenerator
LiteralGenerator(IRInstructionBuilder instructionBuilder)
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<LiteralProcessingDetails,
List<IRInstr>>
-