Class ProgramMetadataExtractor
java.lang.Object
org.ek9lang.compiler.phase7.support.ProgramMetadataExtractor
- All Implemented Interfaces:
Function<AggregateSymbol, ProgramDetails>
public final class ProgramMetadataExtractor
extends Object
implements Function<AggregateSymbol, ProgramDetails>
Extracts metadata from EK9 program symbols to create ProgramDetails objects
for the PROGRAM_ENTRY_POINT_BLOCK. Reuses existing patterns from the codebase
to avoid code duplication.
-
Constructor Details
-
ProgramMetadataExtractor
public ProgramMetadataExtractor()
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<AggregateSymbol, ProgramDetails>
-