2021-10-01 00:21:50 +08:00
|
|
|
from PikaObj import *
|
|
|
|
|
2022-03-31 18:27:54 +08:00
|
|
|
class MemChecker(TinyObj):
|
2022-06-11 14:56:51 +00:00
|
|
|
def max(self): ...
|
|
|
|
def now(): ...
|
|
|
|
def getMax() -> float: ...
|
|
|
|
def getNow() -> float: ...
|
|
|
|
def resetMax(): ...
|
2021-10-01 00:21:50 +08:00
|
|
|
|
|
|
|
class SysObj(BaseObj):
|
2022-06-11 14:56:51 +00:00
|
|
|
def type(arg: any): ...
|
|
|
|
def remove(argPath: str): ...
|
|
|
|
def int(arg: any) -> int: ...
|
|
|
|
def float(arg: any) -> float: ...
|
|
|
|
def str(arg: any) -> str: ...
|
2022-08-24 12:04:53 +08:00
|
|
|
@PIKA_C_MACRO_IF("!PIKA_NODE_ENABLE")
|
2022-06-11 14:56:51 +00:00
|
|
|
def iter(arg: any) -> any: ...
|
2022-08-24 12:04:53 +08:00
|
|
|
@staticmethod
|
2022-06-11 14:56:51 +00:00
|
|
|
def range(a1: int, a2: int) -> any: ...
|
2022-08-24 12:04:53 +08:00
|
|
|
@staticmethod
|
|
|
|
@PIKA_C_MACRO_IF("!PIKA_NODE_ENABLE")
|
2022-07-29 23:40:16 +08:00
|
|
|
def __setitem__(obj: any, key: any, val: any, obj_str: str): ...
|
|
|
|
def __getitem__(obj: any, key: any) -> any: ...
|
2022-09-02 00:13:01 +08:00
|
|
|
def print(self, *val, **options): ...
|
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
|