1
0
mirror of https://github.com/exaloop/codon.git synced 2025-06-03 15:03:52 +08:00
2023-03-16 22:36:19 -07:00

32 lines
611 B
Python

# Copyright (C) 2022-2023 Exaloop Inc. <https://exaloop.io>
# Methods for static reflection. Implemented within call.cpp and/or loops.cpp.
# !! Not intended for public use !!
def fn_overloads(T: type, F: Static[str]):
pass
def fn_args(F): # function: (i, name)
pass
def fn_arg_has_type(F, i: Static[int]):
pass
def fn_arg_get_type(F, i: Static[int]):
pass
def fn_can_call(F, *args, **kwargs):
pass
def fn_wrap_call_args(F, *args, **kwargs):
pass
def fn_has_default(F, i: Static[int]):
pass
def fn_get_default(F, i: Static[int]):
pass
def class_args(T: type):
pass