Class GlobalBuiltins
java.lang.Object
ai.timefold.jpyinterpreter.builtins.GlobalBuiltins
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddBuiltinConstant(String builtinName, PythonLikeObject value) static voidaddBuiltinType(PythonLikeType type) static PythonBooleanall(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonBooleanany(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonStringascii(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonStringbin(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonBooleancallable(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonStringchr(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonNonedelattr(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonLikeObjectdivmod(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonLikeObjectenumerate(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static DelegatePythonIteratorfilter(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonLikeObjectformat(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonLikeObjectgetattr(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static List<PythonLikeType>static PythonLikeDictglobals(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonBooleanhasattr(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonStringhex(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonIntegerid(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonLikeFunctionimportFunction(PythonInterpreter pythonInterpreter) static PythonLikeFunctioninput(PythonInterpreter interpreter) static PythonBooleanisinstance(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonBooleanissubclass(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static voidstatic PythonLikeDictlocals(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonLikeObjectlookup(PythonInterpreter interpreter, String builtinName) static PythonLikeObjectlookupOrError(PythonInterpreter interpreter, String builtinName) static DelegatePythonIteratormap(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonLikeObjectmax(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonLikeObjectmin(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonStringoct(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonIntegerord(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonLikeObjectpow(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonLikeFunctionprint(PythonInterpreter interpreter) static PythonLikeObjectreversed(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonLikeObjectround(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonLikeObjectsetattr(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonLikeObjectsorted(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonLikeObjectsum(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonSuperObjectsuperOfCaller(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static PythonLikeObjectvars(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) static DelegatePythonIteratorzip(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance)
-
Constructor Details
-
GlobalBuiltins
public GlobalBuiltins()
-
-
Method Details
-
addBuiltinType
-
addBuiltinConstant
-
getBuiltinTypes
-
loadBuiltinConstants
public static void loadBuiltinConstants() -
lookup
-
lookupOrError
-
all
public static PythonBoolean all(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
any
public static PythonBoolean any(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
ascii
public static PythonString ascii(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
bin
public static PythonString bin(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
callable
public static PythonBoolean callable(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
chr
public static PythonString chr(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
delattr
public static PythonNone delattr(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
divmod
public static PythonLikeObject divmod(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
enumerate
public static PythonLikeObject enumerate(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
filter
public static DelegatePythonIterator filter(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
format
public static PythonLikeObject format(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
getattr
public static PythonLikeObject getattr(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
globals
public static PythonLikeDict globals(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
hasattr
public static PythonBoolean hasattr(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
hex
public static PythonString hex(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
id
public static PythonInteger id(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
input
-
isinstance
public static PythonBoolean isinstance(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
issubclass
public static PythonBoolean issubclass(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
locals
public static PythonLikeDict locals(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
map
public static DelegatePythonIterator map(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
min
public static PythonLikeObject min(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
max
public static PythonLikeObject max(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
oct
public static PythonString oct(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
ord
public static PythonInteger ord(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
pow
public static PythonLikeObject pow(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
print
-
reversed
public static PythonLikeObject reversed(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
round
public static PythonLikeObject round(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
setattr
public static PythonLikeObject setattr(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
sorted
public static PythonLikeObject sorted(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
sum
public static PythonLikeObject sum(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
superOfCaller
public static PythonSuperObject superOfCaller(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
vars
public static PythonLikeObject vars(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
zip
public static DelegatePythonIterator zip(List<PythonLikeObject> positionalArgs, Map<PythonString, PythonLikeObject> keywordArgs, PythonLikeObject instance) -
importFunction
-