pikapython/package/PikaStdLib/PikaStdLib.pyi
李昂 b02672b130 !21 Support variable pars for print()
* update pre-compiler
* test passed for variable pars of print()
* variable pars is tested ok for print()
* skip arg_num check for variable
* support *val in the preCompiler
* add file
* Merge branch 'dev' of https://gitee.com/lyon1998/pikascript into dev
* fix warning
* both update ByteCodeGen
* use super instead of parent
* create PikaList C list struct
* use args inner the PikaStdData.List()
* use PikaDict in PikaStdData.Dict()
* support dict in c
* support dict in c
* clean Tinyobj
2022-06-11 14:56:51 +00:00

44 lines
1.2 KiB
Python

from PikaObj import *
class MemChecker(TinyObj):
def max(self): ...
def now(self): ...
def getMax(self) -> float: ...
def getNow(self) -> float: ...
def resetMax(self): ...
class SysObj(BaseObj):
def type(self, arg: any): ...
def remove(self, argPath: str): ...
def int(self, arg: any) -> int: ...
def float(self, arg: any) -> float: ...
def str(self, arg: any) -> str: ...
def iter(self, arg: any) -> any: ...
def range(self, a1: int, a2: int) -> any: ...
def print(self, *val): ...
def printNoEnd(self, val: any): ...
def __set__(self, obj: any, key: any, val: any, obj_str: str): ...
def __get__(self, obj: any, key: any) -> any: ...
def __slice__(self, obj: any, start: any, end: any, step: int) -> any: ...
def len(self, arg: any) -> int: ...
def list(self) -> any: ...
def dict(self) -> any: ...
def hex(self, val: int) -> str: ...
def ord(self, val: str) -> int: ...
def chr(self, val: int) -> str: ...
def bytes(self, val: any) -> bytes: ...
class RangeObj(TinyObj):
def __next__(self) -> any: ...
class StringObj(TinyObj):
def __next__(self) -> any: ...
class PikaObj(TinyObj):
...