Class BuiltIns

java.lang.Object
ch.turic.BuiltIns

public class BuiltIns extends Object
The BuiltIns class manages registration of built-in constants, functions, macros and classes that are available globally in the Turi language runtime.
  • Constructor Details

    • BuiltIns

      public BuiltIns()
  • Method Details

    • register

      public static void register(Context context)
      Registers all built-in elements (constants, functions, macros and classes) into the given context.
      Parameters:
      context - The context where built-ins should be registered
      Throws:
      IllegalArgumentException - if the provided context is not an instance of ch.turic.memory.Context