Class Main.Shell

java.lang.Object
net.hydromatic.morel.Main.Shell
All Implemented Interfaces:
Session.Shell
Direct Known Subclasses:
Main.SubShell
Enclosing class:
Main

static class Main.Shell extends Object implements Session.Shell
Shell (or sub-shell created via net.hydromatic.morel.compile.BuiltIn#INTERACT_USE) that can execute commands and handle errors.
  • Field Details

    • main

      protected final Main main
    • env0

      protected final Environment env0
    • echoLines

      protected final Consumer<String> echoLines
    • outLines

      protected final Consumer<String> outLines
    • bindingMap

      protected final com.google.common.collect.Multimap<String,Binding> bindingMap
      Contains the environment created by previous commands in this shell. It is a multimap so that overloads with the same name can all be stored.
  • Constructor Details

  • Method Details