mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-05-10 03:00:06 -04:00
BigInt
This commit is contained in:
@@ -213,26 +213,20 @@ where
|
||||
use Value::*;
|
||||
|
||||
match value {
|
||||
Void => {}
|
||||
Undefined => {}
|
||||
Null => {}
|
||||
Bool(_) => {}
|
||||
Number(_) => {}
|
||||
String(_) => {}
|
||||
Void | Undefined | Null | Bool(_) | Number(_) | BigInt(_) | String(_) | Register(_)
|
||||
| Builtin(_) => {}
|
||||
Array(array) => {
|
||||
self.array(owner, array);
|
||||
}
|
||||
Object(object) => {
|
||||
self.object(owner, object);
|
||||
}
|
||||
Register(_) => {}
|
||||
Pointer(pointer) => {
|
||||
(self.visitor)(match owner {
|
||||
Some(owner) => PointerVisitation::Reference(owner, pointer),
|
||||
None => PointerVisitation::Export(pointer),
|
||||
});
|
||||
}
|
||||
Builtin(_) => {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user