pikapython/tools/pikaCompiler/PikaStdLib.pyi

38 lines
779 B
Python
Raw Normal View History

# api
2021-10-01 00:21:50 +08:00
from PikaObj import *
2022-03-31 18:27:54 +08:00
class MemChecker(TinyObj):
def max(self): ...
def now(): ...
def getMax() -> float: ...
def getNow() -> float: ...
def resetMax(): ...
2021-10-01 00:21:50 +08:00
class SysObj(BaseObj):
def type(arg: any): ...
def remove(argPath: str): ...
def int(arg: any) -> int: ...
def float(arg: any) -> float: ...
def str(arg: any) -> str: ...
def iter(arg: any) -> any: ...
def range(a1: int, a2: int) -> any: ...
def __setitem__(obj: any, key: any, val: any, obj_str: str): ...
def __getitem__(obj: any, key: any) -> any: ...
def print(self, *val): ...
2022-03-31 18:27:54 +08:00
class RangeObj(TinyObj):
def __next__() -> any:
pass
class StringObj(TinyObj):
def __next__() -> any:
2021-10-01 00:21:50 +08:00
pass
2022-03-31 18:27:54 +08:00
class PikaObj(TinyObj):
pass