pikapython/package/PikaStdData/PikaStdData.py

52 lines
807 B
Python
Raw Normal View History

2021-12-13 21:32:45 +08:00
from PikaObj import *
2021-12-13 22:14:59 +08:00
2021-12-13 21:32:45 +08:00
class List(TinyObj):
def __init__():
2021-12-13 21:32:45 +08:00
pass
2021-12-13 22:14:59 +08:00
# add an arg after the end of list
2021-12-13 21:32:45 +08:00
def append(arg: any):
pass
2021-12-13 22:14:59 +08:00
# get an arg by the index
2021-12-13 21:32:45 +08:00
def get(i: int) -> any:
pass
2021-12-13 22:14:59 +08:00
# set an arg by the index
2021-12-13 21:32:45 +08:00
def set(i: int, arg: any):
pass
2021-12-13 22:14:59 +08:00
# get the length of list
2021-12-13 21:32:45 +08:00
def len() -> int:
2021-12-13 22:14:59 +08:00
pass
2021-12-28 01:21:47 +08:00
def __iter__() -> any:
pass
def __next__() -> any:
pass
2021-12-13 22:14:59 +08:00
class Dict(TinyObj):
def __init__():
pass
# get an arg by the key
def get(key: str) -> any:
pass
# set an arg by the key
def set(key: str, arg: any):
pass
# remove an arg by the key
def remove(key: str):
pass
2021-12-28 01:21:47 +08:00
def __iter__() -> any:
pass
def __next__() -> any:
pass