mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04:00
Add Value::Class, Kal::Class
This commit is contained in:
@@ -87,6 +87,11 @@ where
|
||||
Object(object) => {
|
||||
self.object(owner, object);
|
||||
}
|
||||
Class(class) => {
|
||||
self.value(owner, &mut class.constructor);
|
||||
self.value(owner, &mut class.prototype);
|
||||
self.value(owner, &mut class.static_);
|
||||
}
|
||||
Pointer(pointer) => {
|
||||
(self.visitor)(match owner {
|
||||
Some(owner) => PointerVisitation::Reference(owner, pointer),
|
||||
|
||||
Reference in New Issue
Block a user