Class Repl

java.lang.Object
org.openlca.expressions.Repl

public class Repl extends Object
A read-eval-print-loop for formula evaluation.
  • Constructor Details

  • Method Details

    • onExit

      public Repl onExit(Runnable fn)
      Registers an exit-hook for this Repl. The given runnable is called when the user quits this Repl instance.
      Parameters:
      fn - the exit-hook
    • start

      public void start()
    • main

      public static void main(String[] args)