Class ClassGenerator
java.lang.Object
org.teavm.backend.c.generate.ClassGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionClassGenerator(GenerationContext context, TagRegistry tagRegistry, Decompiler decompiler, CacheStatus cacheStatus) -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateClass(CodeWriter writer, CodeWriter headerWriter, ClassHolder cls) voidgenerateType(CodeWriter writer, CodeWriter headerWriter, ValueType type) getTypes()nameOfType(ValueType type) static booleanneedsVirtualTable(Characteristics characteristics, ValueType type) voidprepare(ListableClassHolderSource classes) voidsetAstCache(MethodNodeCache astCache) voidsetCallSites(List<CallSiteDescriptor> callSites)
-
Constructor Details
-
ClassGenerator
public ClassGenerator(GenerationContext context, TagRegistry tagRegistry, Decompiler decompiler, CacheStatus cacheStatus)
-
-
Method Details
-
setAstCache
-
setCallSites
-
prepare
-
generateClass
-
generateType
-
getTypes
-
needsVirtualTable
-
nameOfType
-