Package team.unnamed.mocha.runtime
Interface Scope
- All Superinterfaces:
ObjectValue,Value
Represents a scope, which is just a virtual object that
contains bindings (properties) to values.
- Since:
- 3.0.0
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface team.unnamed.mocha.runtime.value.ObjectValue
ObjectValue.DoubleFunction1, ObjectValue.DoubleFunction2, ObjectValue.DoubleFunction3 -
Method Summary
Methods inherited from interface team.unnamed.mocha.runtime.value.ObjectValue
entries, get, getProperty, set, setFunction, setFunction, setFunctionMethods inherited from interface team.unnamed.mocha.runtime.value.Value
getAsBoolean, getAsNumber, getAsString, isString
-
Method Details
-
create
-
builder
-
copy
Creates a shallow copy of this scope. The copy will contain the same bindings as this scope, but it will be a different object, and changes (only) to the copy properties will not affect this scope.- Returns:
- The shallow copy of this scope.
- Since:
- 3.0.0
-
readOnly
void readOnly(boolean readOnly) -
readOnly
boolean readOnly()
-