-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSet.cs
More file actions
59 lines (55 loc) · 1.38 KB
/
Set.cs
File metadata and controls
59 lines (55 loc) · 1.38 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//TODO! Disable missing XML comments.
#pragma warning disable CS1591
using CSharpToJavaScript.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharpToJavaScript.APIs.JS.Ecma;
//https://262.ecma-international.org/14.0/#sec-set-objects
[To(ToAttribute.Default)]
public partial class Set : SetPrototype
{
[To(ToAttribute.FirstCharToLowerCase)]
public static SetPrototype Prototype { get; } = new();
public Set(Array? iterable = default) { }
}
[To(ToAttribute.FirstCharToLowerCase)]
public class SetPrototype : FunctionPrototype
{
public int Size { get; } = 0;
public SetPrototype() { }
public Set Add(dynamic value)
{
throw new System.NotImplementedException();
}
public GlobalObject.Undefined Clear()
{
throw new System.NotImplementedException();
}
public bool Delete(dynamic value)
{
throw new System.NotImplementedException();
}
public List<dynamic> Entries()
{
throw new System.NotImplementedException();
}
public GlobalObject.Undefined ForEach(Action callbackfn, dynamic? thisArg = null)
{
throw new System.NotImplementedException();
}
public bool Has(dynamic value)
{
throw new System.NotImplementedException();
}
public List<dynamic> Keys()
{
throw new System.NotImplementedException();
}
public List<dynamic> Values()
{
throw new System.NotImplementedException();
}
}