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 void registerBasicRuntimeFunctions​(Interpreter interpreter)
    Registers the functions that are implemented in Java into the interpreter passed as argument.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • 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.