Package org.teavm.backend.c.generate
Class ClassGenerator
java.lang.Object
org.teavm.backend.c.generate.ClassGenerator
-
Constructor Summary
ConstructorDescriptionClassGenerator
(GenerationContext context, TagRegistry tagRegistry, Decompiler decompiler, CacheStatus cacheStatus) -
Method Summary
Modifier and TypeMethodDescriptionvoid
generateClass
(CodeWriter writer, CodeWriter headerWriter, ClassHolder cls) void
generateType
(CodeWriter writer, CodeWriter headerWriter, ValueType type) getTypes()
nameOfType
(ValueType type) static boolean
needsVirtualTable
(Characteristics characteristics, ValueType type) void
prepare
(ListableClassHolderSource classes) void
setAstCache
(MethodNodeCache astCache) void
setCallSites
(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
-