Class BasicRuntimeFunctionRegisterer
java.lang.Object
com.scriptbasic.utility.functions.BasicRuntimeFunctionRegisterer
public class BasicRuntimeFunctionRegisterer
extends java.lang.Object
Utility class to register the functions implemented in Java and that are
available to BASIC programs.
- Author:
- Peter Verhas
-
Method Summary
Modifier and Type Method Description static voidregisterBasicRuntimeFunctions(Interpreter interpreter)Registers the functions that are implemented in Java into the interpreter passed as argument.
-
Method Details
-
registerBasicRuntimeFunctions
Registers the functions that are implemented in Java into the interpreter passed as argument.Register all the functions that are provided on the classpath and the ServiceLoader can find via ClassSetProvider interface.
- Parameters:
interpreter- the interpreter to register the functions into.
-