Class BasicRuntimeFunctionRegisterer
- java.lang.Object
-
- com.scriptbasic.utility.functions.BasicRuntimeFunctionRegisterer
-
public class BasicRuntimeFunctionRegisterer extends java.lang.ObjectUtility class to register the functions implemented in Java and that are available to BASIC programs.- Author:
- Peter Verhas
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidregisterBasicRuntimeFunctions(Interpreter interpreter)Registers the functions that are implemented in Java into the interpreter passed as argument.
-
-
-
Method Detail
-
registerBasicRuntimeFunctions
public static void registerBasicRuntimeFunctions(Interpreter interpreter)
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.
-
-