typeOf

open override fun typeOf(type: Python.AST.AST?): Type

Type information is optional in python in form of annotations. So if a type annotation is present, we parse it, otherwise we assume that it is dynamically typed and thus return an AutoType.


fun typeOf(typeId: String): Type

Resolves a Type based on its string identifier.