-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathBigInt.cs
More file actions
45 lines (39 loc) · 1.1 KB
/
BigInt.cs
File metadata and controls
45 lines (39 loc) · 1.1 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
//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-bigint-objects
[To(ToAttribute.Default)]
public class BigInt : BigIntPrototype
{
[To(ToAttribute.FirstCharToLowerCase)]
public static BigIntPrototype Prototype { get; } = new();
[To(ToAttribute.FirstCharToLowerCase)]
public BigInt AsIntN(Number bits, BigInt bigint)
{
throw new System.NotImplementedException();
}
[To(ToAttribute.FirstCharToLowerCase)]
public BigInt AasUintN(Number bits, BigInt bigint)
{
throw new System.NotImplementedException();
}
}
[To(ToAttribute.FirstCharToLowerCase)]
public class BigIntPrototype : FunctionPrototype
{
public BigIntPrototype() { }
/*
public override string ToLocaleString(dynamic? reserved1 = null, dynamic? reserved2 = null)
{
throw new System.NotImplementedException();
}*/
public string ToString(Number? radix = null)
{
throw new System.NotImplementedException();
}
public new BigInt ValueOf()
{
throw new System.NotImplementedException();
}
}