-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathWeakMap.cs
More file actions
36 lines (33 loc) · 915 Bytes
/
WeakMap.cs
File metadata and controls
36 lines (33 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//TODO! Disable missing XML comments.
#pragma warning disable CS1591
using CSharpToJavaScript.Utils;
namespace CSharpToJavaScript.APIs.JS.Ecma;
//https://262.ecma-international.org/14.0/#sec-weakmap-objects
[To(ToAttribute.Default)]
public partial class WeakMap : WeakMapPrototype
{
[To(ToAttribute.FirstCharToLowerCase)]
public static WeakMapPrototype Prototype { get; } = new();
public WeakMap(Array? iterable = default) { }
}
[To(ToAttribute.FirstCharToLowerCase)]
public class WeakMapPrototype : FunctionPrototype
{
public WeakMapPrototype() { }
public bool Delete(dynamic key)
{
throw new System.NotImplementedException();
}
public dynamic? Get(dynamic key)
{
throw new System.NotImplementedException();
}
public bool Has(dynamic key)
{
throw new System.NotImplementedException();
}
public WeakMap Set(dynamic key, dynamic value)
{
throw new System.NotImplementedException();
}
}