fun addExcludedName(name: String) { val obj: Any = lookupQualifiedName(scope, name) require(obj is Scriptable) { "Object for excluded name $name not found." } table.put(obj, name) }
Adds a qualified name to the list of objects to be excluded from serialization . Names excluded from serialization are looked up in the new scope and replaced upon deserialization .