Python

interface Python

This interface encapsulates Python <-> Kotlin translation objects. It consists mainly, of translation objects from Python's ast class (see Python.AST), but other Python classes (like complex, ...) can be included, too.

Types

Link copied to clipboard
interface AST

This interface makes Python's ast nodes accessible to Kotlin. It does not contain any complex logic but rather aims at making all Python ast properties accessible to Kotlin (under the same name as in Python).

Link copied to clipboard
abstract class BaseObject(var pyObject: PyObject)

This is an abstract class that is common to all our python objects. Represents python's object.

Link copied to clipboard
class Complex(var pyObject: PyObject) : Python.BaseObject

The complex class.

Link copied to clipboard
class Ellipsis(var pyObject: PyObject) : Python.BaseObject

The ellipsis class.