Class BasePackage

java.lang.Object
com.github.basking2.sdsai.itrex.packages.BasePackage
All Implemented Interfaces:
Package

public class BasePackage extends Object implements Package
  • Constructor Details

    • BasePackage

      public BasePackage()
  • Method Details

    • importTo

      public void importTo(Evaluator evaluator, String packageName)
      Description copied from interface: Package
      Import some set of functions into the given Evaluator.
      Specified by:
      importTo in interface Package
      Parameters:
      evaluator - The evaluator to import to.
      packageName - If not null, all functions should be registered under this package name, per the user's import request. That is, function names should be constructed as packageName +"."+functionName.