Class Shell.SubShell

java.lang.Object
net.hydromatic.morel.Shell.SubShell
Enclosing class:
Shell

static class Shell.SubShell extends Object
Simplified shell that works in both interactive mode (where input and output is a terminal) and batch mode (where input is a file, and output is to an array of lines).
  • Field Details

    • depth

      private final int depth
    • maxDepth

      private final int maxDepth
    • lineFn

      private final Shell.LineFn lineFn
    • echo

      private final boolean echo
    • typeSystem

      private final TypeSystem typeSystem
    • env

      private final Environment env
    • outLines

      private final Consumer<String> outLines
    • session

      private final Session session
    • directory

      private final File directory
  • Constructor Details

  • Method Details