Package spaceEngineers.util.generator.python

Types

Link copied to clipboard
class ClientGenerator(val iface: KClass<*>, val types: Set<KType>)
Link copied to clipboard
class DataStructuresGenerator(finishedTypes: MutableSet<KType> = mutableSetOf<KType>( Int::class.createType(), Float::class.createType(), String::class.createType(), Boolean::class.createType(), Unit::class.createType(), String::class.createType(nullable = true), Long::class.createType(), Byte::class.createType(), Short::class.createType(), Double::class.createType(), ))

Functions

Link copied to clipboard
fun KType.containsMemberOfType(type: KType): Boolean
Link copied to clipboard
fun defineGenerics(klass: KClass<*>): String
Link copied to clipboard
fun String.firstUppercase(): String
Link copied to clipboard
fun generateDataClass(klass: KClass<*>, validNestedTypes: Set<KType>): String
fun generateDataClass(ktype: KType, validNestedTypes: Set<KType>): String
Link copied to clipboard
fun generateGenerics(kclass: KClass<*>): String
Link copied to clipboard
fun main()
fun main()
Link copied to clipboard
fun KType.toKClass(): KClass<*>?
Link copied to clipboard
fun String.toPythonMethod(): String
Link copied to clipboard
fun KType.toPythonType(validTypes: Set<KType>, typeParameters: List<KTypeParameter> = emptyList()): String
Link copied to clipboard
fun KType.toPythonTypeOrKeep(validTypes: Set<KType>): String

Properties

Link copied to clipboard
val filteredMethods: Set<String>
Link copied to clipboard
val kotlinMethodToPython: Map<String, String>
Link copied to clipboard
val kotlinTypeToPython: Map<String, String>
Link copied to clipboard
const val TAB: String