Package net.hydromatic.morel
Class Shell.SubShell
- java.lang.Object
-
- net.hydromatic.morel.Shell.SubShell
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classShell.SubShell.UseImplementation of the "use" function.
-
Field Summary
Fields Modifier and Type Field Description private intdepthprivate Filedirectoryprivate booleanechoprivate Environmentenvprivate Shell.LineFnlineFnprivate intmaxDepthprivate Consumer<String>outLinesprivate Sessionsessionprivate TypeSystemtypeSystem
-
Constructor Summary
Constructors Constructor Description SubShell(int depth, int maxDepth, Shell.LineFn lineFn, boolean echo, TypeSystem typeSystem, Environment env, Consumer<String> outLines, Session session, File directory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidextracted(@Nullable Map<String,Binding> outBindings)
-
-
-
Field Detail
-
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
-
session
private final Session session
-
directory
private final File directory
-
-
Constructor Detail
-
SubShell
SubShell(int depth, int maxDepth, Shell.LineFn lineFn, boolean echo, TypeSystem typeSystem, Environment env, Consumer<String> outLines, Session session, File directory)
-
-