Constructs a Module with the specified predeclared bindings (filtered by the semantics), in addition to the standard environment, Starlark#UNIVERSE. No client data is set.
(
StarlarkSemantics semantics, Map<String, Object> predeclared)
| 82 | * addition to the standard environment, {@link Starlark#UNIVERSE}. No client data is set. |
| 83 | */ |
| 84 | public static Module withPredeclared( |
| 85 | StarlarkSemantics semantics, Map<String, Object> predeclared) { |
| 86 | return withPredeclaredAndData(semantics, predeclared, null); |
| 87 | } |
| 88 | |
| 89 | /** |
| 90 | * Constructs a Module as above, but with the specified client data -- an arbitrary |