@magic-xpa/mscorelib 4.1100.0-dev4110.98 → 4.1100.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/README.md +7 -7
  2. package/{esm2020 → esm2022}/index.mjs +32 -32
  3. package/{esm2020 → esm2022}/magic-xpa-mscorelib.mjs +1 -1
  4. package/esm2022/src/ApplicationException.mjs +12 -0
  5. package/esm2022/src/ArrayEnumerator.mjs +17 -0
  6. package/esm2022/src/BitArray.mjs +16 -0
  7. package/esm2022/src/Char.mjs +5 -0
  8. package/esm2022/src/CultureInfo.mjs +4 -0
  9. package/esm2022/src/DateTime.mjs +75 -0
  10. package/{esm2020 → esm2022}/src/Debug.mjs +9 -9
  11. package/esm2022/src/Dictionary.mjs +39 -0
  12. package/esm2022/src/Encoding.mjs +114 -0
  13. package/{esm2020 → esm2022}/src/Exception.mjs +32 -32
  14. package/esm2022/src/HashTable.mjs +157 -0
  15. package/{esm2020 → esm2022}/src/IComparable.mjs +1 -1
  16. package/esm2022/src/ISO_8859_1_Encoding.mjs +38 -0
  17. package/esm2022/src/Int32.mjs +5 -0
  18. package/esm2022/src/Int64.mjs +4 -0
  19. package/{esm2020 → esm2022}/src/List.mjs +86 -86
  20. package/{esm2020 → esm2022}/src/NChar.mjs +24 -24
  21. package/{esm2020 → esm2022}/src/NNumber.mjs +27 -27
  22. package/esm2022/src/NString.mjs +149 -0
  23. package/{esm2020 → esm2022}/src/NotImplementedException.mjs +6 -6
  24. package/esm2022/src/NumberFormatInfo.mjs +8 -0
  25. package/{esm2020 → esm2022}/src/RefParam.mjs +7 -6
  26. package/esm2022/src/Stack.mjs +35 -0
  27. package/esm2022/src/StackFrame.mjs +14 -0
  28. package/{esm2020 → esm2022}/src/StackTrace.mjs +6 -6
  29. package/{esm2020 → esm2022}/src/StringBuilder.mjs +112 -112
  30. package/{esm2020 → esm2022}/src/StringUtils.mjs +76 -76
  31. package/esm2022/src/Thread.mjs +16 -0
  32. package/{esm2020 → esm2022}/src/Utils.mjs +6 -6
  33. package/{esm2020 → esm2022}/src/WebException.mjs +9 -9
  34. package/{esm2020 → esm2022}/src/XmlConvert.mjs +6 -6
  35. package/{fesm2020 → fesm2022}/magic-xpa-mscorelib.mjs +1049 -1047
  36. package/{fesm2020 → fesm2022}/magic-xpa-mscorelib.mjs.map +1 -1
  37. package/index.d.ts +31 -31
  38. package/package.json +6 -12
  39. package/src/ApplicationException.d.ts +5 -5
  40. package/src/ArrayEnumerator.d.ts +11 -11
  41. package/src/BitArray.d.ts +7 -7
  42. package/src/Char.d.ts +4 -4
  43. package/src/CultureInfo.d.ts +3 -3
  44. package/src/DateTime.d.ts +26 -26
  45. package/src/Debug.d.ts +4 -4
  46. package/src/Dictionary.d.ts +11 -11
  47. package/src/Encoding.d.ts +16 -16
  48. package/src/Exception.d.ts +11 -11
  49. package/src/HashTable.d.ts +28 -28
  50. package/src/IComparable.d.ts +3 -3
  51. package/src/ISO_8859_1_Encoding.d.ts +7 -7
  52. package/src/Int32.d.ts +4 -4
  53. package/src/Int64.d.ts +3 -3
  54. package/src/List.d.ts +19 -19
  55. package/src/NChar.d.ts +8 -8
  56. package/src/NNumber.d.ts +9 -9
  57. package/src/NString.d.ts +23 -23
  58. package/src/NotImplementedException.d.ts +4 -4
  59. package/src/NumberFormatInfo.d.ts +5 -5
  60. package/src/RefParam.d.ts +4 -4
  61. package/src/Stack.d.ts +11 -11
  62. package/src/StackFrame.d.ts +5 -5
  63. package/src/StackTrace.d.ts +5 -5
  64. package/src/StringBuilder.d.ts +25 -25
  65. package/src/StringUtils.d.ts +64 -64
  66. package/src/Thread.d.ts +7 -7
  67. package/src/Utils.d.ts +2 -2
  68. package/src/WebException.d.ts +4 -4
  69. package/src/XmlConvert.d.ts +3 -3
  70. package/esm2020/src/ApplicationException.mjs +0 -12
  71. package/esm2020/src/ArrayEnumerator.mjs +0 -16
  72. package/esm2020/src/BitArray.mjs +0 -16
  73. package/esm2020/src/Char.mjs +0 -5
  74. package/esm2020/src/CultureInfo.mjs +0 -4
  75. package/esm2020/src/DateTime.mjs +0 -75
  76. package/esm2020/src/Dictionary.mjs +0 -41
  77. package/esm2020/src/Encoding.mjs +0 -113
  78. package/esm2020/src/HashTable.mjs +0 -157
  79. package/esm2020/src/ISO_8859_1_Encoding.mjs +0 -38
  80. package/esm2020/src/Int32.mjs +0 -5
  81. package/esm2020/src/Int64.mjs +0 -4
  82. package/esm2020/src/NString.mjs +0 -149
  83. package/esm2020/src/NumberFormatInfo.mjs +0 -8
  84. package/esm2020/src/Stack.mjs +0 -34
  85. package/esm2020/src/StackFrame.mjs +0 -14
  86. package/esm2020/src/Thread.mjs +0 -16
  87. package/fesm2015/magic-xpa-mscorelib.mjs +0 -1108
  88. package/fesm2015/magic-xpa-mscorelib.mjs.map +0 -1
package/src/Char.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare class Char {
2
- static MinValue: string;
3
- static MaxValue: string;
4
- }
1
+ export declare class Char {
2
+ static MinValue: string;
3
+ static MaxValue: string;
4
+ }
@@ -1,3 +1,3 @@
1
- export declare class CultureInfo {
2
- static InvariantCulture: CultureInfo;
3
- }
1
+ export declare class CultureInfo {
2
+ static InvariantCulture: CultureInfo;
3
+ }
package/src/DateTime.d.ts CHANGED
@@ -1,26 +1,26 @@
1
- export declare enum DateTimeKind {
2
- Local = 0,
3
- Utc = 1
4
- }
5
- export declare class DateTime {
6
- private dt;
7
- private kind;
8
- private readonly epochTicks;
9
- private readonly ticksPerMillisecond;
10
- get Ticks(): number;
11
- get Year(): number;
12
- get Month(): number;
13
- get Day(): number;
14
- get Hour(): number;
15
- get Minute(): number;
16
- get Second(): number;
17
- get Millisecond(): number;
18
- constructor(date: Date);
19
- constructor(year: number, month: number, day: number);
20
- constructor(year: number, month: number, day: number, hour: number, minute: number, second: number);
21
- Format(formatString: string): string;
22
- static get UtcNow(): DateTime;
23
- static get Now(): DateTime;
24
- static GetTotalSecondsFromMidnight(utcTime: boolean, date: Date): number;
25
- static GetTotalMilliSecondsFromMidnight(utcTime: boolean, date: Date): number;
26
- }
1
+ export declare enum DateTimeKind {
2
+ Local = 0,
3
+ Utc = 1
4
+ }
5
+ export declare class DateTime {
6
+ private dt;
7
+ private kind;
8
+ private readonly epochTicks;
9
+ private readonly ticksPerMillisecond;
10
+ get Ticks(): number;
11
+ get Year(): number;
12
+ get Month(): number;
13
+ get Day(): number;
14
+ get Hour(): number;
15
+ get Minute(): number;
16
+ get Second(): number;
17
+ get Millisecond(): number;
18
+ constructor(date: Date);
19
+ constructor(year: number, month: number, day: number);
20
+ constructor(year: number, month: number, day: number, hour: number, minute: number, second: number);
21
+ Format(formatString: string): string;
22
+ static get UtcNow(): DateTime;
23
+ static get Now(): DateTime;
24
+ static GetTotalSecondsFromMidnight(utcTime: boolean, date: Date): number;
25
+ static GetTotalMilliSecondsFromMidnight(utcTime: boolean, date: Date): number;
26
+ }
package/src/Debug.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare class Debug {
2
- static WriteLine(text: string): void;
3
- static Assert(assertCondtion: boolean, message?: string): void;
4
- }
1
+ export declare class Debug {
2
+ static WriteLine(text: string): void;
3
+ static Assert(assertCondtion: boolean, message?: string): void;
4
+ }
@@ -1,11 +1,11 @@
1
- import { RefParam } from "./RefParam";
2
- export declare class Dictionary<V> {
3
- private values;
4
- get_Item(key: string): V;
5
- set_Item(key: string, value: V): void;
6
- Add(key: string, value: V): void;
7
- ContainsKey(key: string): boolean;
8
- TryGetValue(key: string, pvalue: RefParam<V>): boolean;
9
- Remove(key: string): void;
10
- get Keys(): string[];
11
- }
1
+ import { RefParam } from "./RefParam";
2
+ export declare class Dictionary<V> {
3
+ private values;
4
+ get_Item(key: string): V;
5
+ set_Item(key: string, value: V): void;
6
+ Add(key: string, value: V): void;
7
+ ContainsKey(key: string): boolean;
8
+ TryGetValue(key: string, pvalue: RefParam<V>): boolean;
9
+ Remove(key: string): void;
10
+ get Keys(): string[];
11
+ }
package/src/Encoding.d.ts CHANGED
@@ -1,16 +1,16 @@
1
- export declare class Encoding {
2
- private label;
3
- static readonly ASCII: Encoding;
4
- static readonly UTF8: Encoding;
5
- static readonly Unicode: Encoding;
6
- static readonly CodePageToEncodingMap: any;
7
- private readonly textEncoder;
8
- private readonly textDecoder;
9
- constructor(label: string);
10
- GetBytes(str: string): Uint8Array;
11
- GetByteCount(str: string): number;
12
- GetString(bytes: Uint8Array, index: number, count: number): string;
13
- static GetEncoding(codepage: number): Encoding;
14
- private static PopulateCodePageToEncodingMap;
15
- toString(): string;
16
- }
1
+ export declare class Encoding {
2
+ private label;
3
+ static readonly ASCII: Encoding;
4
+ static readonly UTF8: Encoding;
5
+ static readonly Unicode: Encoding;
6
+ static readonly CodePageToEncodingMap: any;
7
+ private readonly textEncoder;
8
+ private readonly textDecoder;
9
+ constructor(label: string);
10
+ GetBytes(str: string): Uint8Array;
11
+ GetByteCount(str: string): number;
12
+ GetString(bytes: Uint8Array, index: number, count: number): string;
13
+ static GetEncoding(codepage: number): Encoding;
14
+ private static PopulateCodePageToEncodingMap;
15
+ toString(): string;
16
+ }
@@ -1,11 +1,11 @@
1
- export declare class Exception {
2
- name: string;
3
- message: string;
4
- stack: string;
5
- errorLevel: number;
6
- constructor(message?: string);
7
- constructor(error: Error);
8
- get Message(): string;
9
- get StackTrace(): string;
10
- GetType(): string;
11
- }
1
+ export declare class Exception {
2
+ name: string;
3
+ message: string;
4
+ stack: string;
5
+ errorLevel: number;
6
+ constructor(message?: string);
7
+ constructor(error: Error);
8
+ get Message(): string;
9
+ get StackTrace(): string;
10
+ GetType(): string;
11
+ }
@@ -1,28 +1,28 @@
1
- import { Array_Enumerator } from "./ArrayEnumerator";
2
- export declare class HashUtils {
3
- static GetHashCode(str: string): number;
4
- private static getHashCode;
5
- }
6
- export interface IHashCode {
7
- GetHashCode(): number;
8
- }
9
- export declare class Hashtable<TKey extends (IHashCode | string | number), TValue> {
10
- private _buckets;
11
- private _elementsCount;
12
- private _bucketCount;
13
- private _loadFactor;
14
- constructor(bucketCount?: number, loadFactor?: number);
15
- private HashFunction;
16
- get Count(): number;
17
- get Values(): Array_Enumerator<TValue>;
18
- get Keys(): Array_Enumerator<TKey>;
19
- Add(key: TKey, value: TValue): void;
20
- set_Item(key: TKey, value: TValue): void;
21
- private Insert;
22
- get_Item(key: TKey): TValue;
23
- ContainsKey(key: TKey): boolean;
24
- Remove(key: TKey): void;
25
- private Resize;
26
- private GetBucketIndex;
27
- Clear(): void;
28
- }
1
+ import { Array_Enumerator } from "./ArrayEnumerator";
2
+ export declare class HashUtils {
3
+ static GetHashCode(str: string): number;
4
+ private static getHashCode;
5
+ }
6
+ export interface IHashCode {
7
+ GetHashCode(): number;
8
+ }
9
+ export declare class Hashtable<TKey extends (IHashCode | string | number), TValue> {
10
+ private _buckets;
11
+ private _elementsCount;
12
+ private _bucketCount;
13
+ private _loadFactor;
14
+ constructor(bucketCount?: number, loadFactor?: number);
15
+ private HashFunction;
16
+ get Count(): number;
17
+ get Values(): Array_Enumerator<TValue>;
18
+ get Keys(): Array_Enumerator<TKey>;
19
+ Add(key: TKey, value: TValue): void;
20
+ set_Item(key: TKey, value: TValue): void;
21
+ private Insert;
22
+ get_Item(key: TKey): TValue;
23
+ ContainsKey(key: TKey): boolean;
24
+ Remove(key: TKey): void;
25
+ private Resize;
26
+ private GetBucketIndex;
27
+ Clear(): void;
28
+ }
@@ -1,3 +1,3 @@
1
- export interface IComparable {
2
- CompareTo(obj: any): number;
3
- }
1
+ export interface IComparable {
2
+ CompareTo(obj: any): number;
3
+ }
@@ -1,7 +1,7 @@
1
- import { Encoding } from "./Encoding";
2
- export declare class ISO_8859_1_Encoding extends Encoding {
3
- static readonly ISO_8859_1: ISO_8859_1_Encoding;
4
- constructor(label: string);
5
- GetBytes(str: string): Uint8Array;
6
- GetString(bytes: Uint8Array, index: number, count: number): string;
7
- }
1
+ import { Encoding } from "./Encoding";
2
+ export declare class ISO_8859_1_Encoding extends Encoding {
3
+ static readonly ISO_8859_1: ISO_8859_1_Encoding;
4
+ constructor(label: string);
5
+ GetBytes(str: string): Uint8Array;
6
+ GetString(bytes: Uint8Array, index: number, count: number): string;
7
+ }
package/src/Int32.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare class Int32 {
2
- static MinValue: number;
3
- static MaxValue: number;
4
- }
1
+ export declare class Int32 {
2
+ static MinValue: number;
3
+ static MaxValue: number;
4
+ }
package/src/Int64.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export declare class Int64 {
2
- static MinValue: number;
3
- }
1
+ export declare class Int64 {
2
+ static MinValue: number;
3
+ }
package/src/List.d.ts CHANGED
@@ -1,19 +1,19 @@
1
- import { Array_Enumerator } from "./ArrayEnumerator";
2
- export declare class List<T> extends Array<T> {
3
- constructor(arrayEnumerator?: Array_Enumerator<T>);
4
- AddRange(arrayEnumerator: Array_Enumerator<T>): any;
5
- AddRange(array: Array<T>): any;
6
- get_Item(index: number): T;
7
- set_Item(index: number, value: T): void;
8
- GetEnumerator(): Array_Enumerator<T>;
9
- Remove(object: T): void;
10
- RemoveAt(index: number): void;
11
- RemoveRange(index: number, count: number): void;
12
- Insert(index: number, item: T): void;
13
- InsertRange(items: T[]): void;
14
- Clear(): void;
15
- ToArray(): T[];
16
- Contains(object: T): boolean;
17
- find(predicate: (value: T, index: number, obj: T[]) => boolean): T;
18
- SetSize(size: number): void;
19
- }
1
+ import { Array_Enumerator } from "./ArrayEnumerator";
2
+ export declare class List<T> extends Array<T> {
3
+ constructor(arrayEnumerator?: Array_Enumerator<T>);
4
+ AddRange(arrayEnumerator: Array_Enumerator<T>): any;
5
+ AddRange(array: Array<T>): any;
6
+ get_Item(index: number): T;
7
+ set_Item(index: number, value: T): void;
8
+ GetEnumerator(): Array_Enumerator<T>;
9
+ Remove(object: T): void;
10
+ RemoveAt(index: number): void;
11
+ RemoveRange(index: number, count: number): void;
12
+ Insert(index: number, item: T): void;
13
+ InsertRange(items: T[]): void;
14
+ Clear(): void;
15
+ ToArray(): T[];
16
+ Contains(object: T): boolean;
17
+ find(predicate: (value: T, index: number, obj: T[]) => boolean): T;
18
+ SetSize(size: number): void;
19
+ }
package/src/NChar.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- export declare class NChar {
2
- static IsWhiteSpace(str: string): boolean;
3
- static IsLetterOrDigit(str: string): boolean;
4
- static IsDigit(str: string): boolean;
5
- static IsLetter(ltr: string): boolean;
6
- static IsLower(ch: string): boolean;
7
- static IsUpper(ch: string): boolean;
8
- }
1
+ export declare class NChar {
2
+ static IsWhiteSpace(str: string): boolean;
3
+ static IsLetterOrDigit(str: string): boolean;
4
+ static IsDigit(str: string): boolean;
5
+ static IsLetter(ltr: string): boolean;
6
+ static IsLower(ch: string): boolean;
7
+ static IsUpper(ch: string): boolean;
8
+ }
package/src/NNumber.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { RefParam } from "./RefParam";
2
- export declare enum NumberStyles {
3
- HexNumber = 0
4
- }
5
- export declare class NNumber {
6
- static Parse(text: string, style?: NumberStyles): number;
7
- static TryParse(str: string, pvalue: RefParam<number>): boolean;
8
- static ToString(num: number, format: string): string;
9
- }
1
+ import { RefParam } from "./RefParam";
2
+ export declare enum NumberStyles {
3
+ HexNumber = 0
4
+ }
5
+ export declare class NNumber {
6
+ static Parse(text: string, style?: NumberStyles): number;
7
+ static TryParse(str: string, pvalue: RefParam<number>): boolean;
8
+ static ToString(num: number, format: string): string;
9
+ }
package/src/NString.d.ts CHANGED
@@ -1,23 +1,23 @@
1
- export declare class NString {
2
- static Empty: string;
3
- static IndexOf(str: string, searchStr: any, startIndex: number, count: number): number;
4
- static IndexOfAny(str: string, subs: string[], startIndex: number, count: number): number;
5
- static CopyTo(source: string, sourceIndex: number, destination: string[], destinationIndex: number, count: number): void;
6
- static Compare(strA: string, strB: string, ignoreCase: boolean): number;
7
- static Compare(strA: string, strB: string, ignoreCase: boolean, indexA: number, indexB: number, length: number): number;
8
- static Equals(strA: string, strB: string, ignoreCase: boolean): boolean;
9
- static GetHashCode(str: string): number;
10
- static Remove(str: string, startIndex: number, length: number): string;
11
- static TrimStart(str: string): string;
12
- static TrimEnd(string: string, trimChars?: string[]): string;
13
- static Format(format: string, arg0: any, arg1?: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any): string;
14
- static IsNullOrEmpty(str1: string | NString): boolean;
15
- static FromChars(chOrChars: string[]): any;
16
- static FromChars(chOrChars: string[], startIndex: number, len: number): any;
17
- static FromChar(ch: string, count: any): string;
18
- static ToCharArray(str: string): string[];
19
- static CompareOrdinal(strA: string, strB: string): number;
20
- static PadRight(source: string, maxLength: number, fillString?: string): string;
21
- static Insert(str: string, index: number, ch: string): string;
22
- static Replace(str: string, orgSubStr: string, newSubStr: string): string;
23
- }
1
+ export declare class NString {
2
+ static Empty: string;
3
+ static IndexOf(str: string, searchStr: any, startIndex: number, count: number): number;
4
+ static IndexOfAny(str: string, subs: string[], startIndex: number, count: number): number;
5
+ static CopyTo(source: string, sourceIndex: number, destination: string[], destinationIndex: number, count: number): void;
6
+ static Compare(strA: string, strB: string, ignoreCase: boolean): number;
7
+ static Compare(strA: string, strB: string, ignoreCase: boolean, indexA: number, indexB: number, length: number): number;
8
+ static Equals(strA: string, strB: string, ignoreCase: boolean): boolean;
9
+ static GetHashCode(str: string): number;
10
+ static Remove(str: string, startIndex: number, length: number): string;
11
+ static TrimStart(str: string): string;
12
+ static TrimEnd(string: string, trimChars?: string[]): string;
13
+ static Format(format: string, arg0: any, arg1?: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any): string;
14
+ static IsNullOrEmpty(str1: string | NString): boolean;
15
+ static FromChars(chOrChars: string[]): any;
16
+ static FromChars(chOrChars: string[], startIndex: number, len: number): any;
17
+ static FromChar(ch: string, count: any): string;
18
+ static ToCharArray(str: string): string[];
19
+ static CompareOrdinal(strA: string, strB: string): number;
20
+ static PadRight(source: string, maxLength: number, fillString?: string): string;
21
+ static Insert(str: string, index: number, ch: string): string;
22
+ static Replace(str: string, orgSubStr: string, newSubStr: string): string;
23
+ }
@@ -1,4 +1,4 @@
1
- import { Exception } from "./Exception";
2
- export declare class NotImplementedException extends Exception {
3
- constructor(message?: string);
4
- }
1
+ import { Exception } from "./Exception";
2
+ export declare class NotImplementedException extends Exception {
3
+ constructor(message?: string);
4
+ }
@@ -1,5 +1,5 @@
1
- export declare class NumberFormatInfo {
2
- static readonly NegativeSign: string;
3
- static readonly NumberDecimalSeparator: string;
4
- private static GetLocaleDecimalSeperator;
5
- }
1
+ export declare class NumberFormatInfo {
2
+ static readonly NegativeSign: string;
3
+ static readonly NumberDecimalSeparator: string;
4
+ private static GetLocaleDecimalSeperator;
5
+ }
package/src/RefParam.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare class RefParam<T> {
2
- value: T;
3
- constructor(value: T);
4
- }
1
+ export declare class RefParam<T> {
2
+ value: T;
3
+ constructor(value: T);
4
+ }
package/src/Stack.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- export declare class Stack<TData> {
2
- private _array;
3
- constructor();
4
- count(): number;
5
- isEmpty(): boolean;
6
- push(value: TData): void;
7
- pop(): TData;
8
- peek(): TData;
9
- Clear(): void;
10
- Clone(): Stack<TData>;
11
- }
1
+ export declare class Stack<TData> {
2
+ private _array;
3
+ constructor();
4
+ count(): number;
5
+ isEmpty(): boolean;
6
+ push(value: TData): void;
7
+ pop(): TData;
8
+ peek(): TData;
9
+ Clear(): void;
10
+ Clone(): Stack<TData>;
11
+ }
@@ -1,5 +1,5 @@
1
- export declare class StackFrame {
2
- private stackFrame;
3
- constructor(skipFrames: number);
4
- GetFileName(): string;
5
- }
1
+ export declare class StackFrame {
2
+ private stackFrame;
3
+ constructor(skipFrames: number);
4
+ GetFileName(): string;
5
+ }
@@ -1,5 +1,5 @@
1
- import * as JSStackTrace from 'stacktrace-js';
2
- import JSStackFrame = JSStackTrace.StackFrame;
3
- export declare class StackTrace {
4
- GetFrames(): JSStackFrame[];
5
- }
1
+ import * as JSStackTrace from 'stacktrace-js';
2
+ import JSStackFrame = JSStackTrace.StackFrame;
3
+ export declare class StackTrace {
4
+ GetFrames(): JSStackFrame[];
5
+ }
@@ -1,25 +1,25 @@
1
- export declare class StringBuilder {
2
- private part;
3
- constructor(length?: number);
4
- constructor(value?: string, length?: number);
5
- Append(num: number, numberOfCharacters?: number): StringBuilder;
6
- Append(text: string): StringBuilder;
7
- Append(text: string, numberOfCharacters: number): StringBuilder;
8
- Append(text: string, startIndex: number, charCount: number): StringBuilder;
9
- private AppendString;
10
- private AppendNumber;
11
- AppendLine(text?: string): void;
12
- AppendFormat(format: string, arg0: any): StringBuilder;
13
- AppendFormat(format: string, arg0: any, arg1: any): StringBuilder;
14
- AppendFormat(format: string, arg0: any, arg1: any, arg2: any): StringBuilder;
15
- ToString(): string;
16
- ToString(startIndex: number, length: number): string;
17
- get Length(): number;
18
- get_Item(index: number): string;
19
- set_Item(index: number, value: string): void;
20
- Insert(index: number, value: string): StringBuilder;
21
- Remove(startIndex: number, length: number): StringBuilder;
22
- Replace(oldValue: string, newValue: string): StringBuilder;
23
- Replace(oldValue: string, newValue: string, startIndex: number, count: number): StringBuilder;
24
- toString(): string;
25
- }
1
+ export declare class StringBuilder {
2
+ private part;
3
+ constructor(length?: number);
4
+ constructor(value?: string, length?: number);
5
+ Append(num: number, numberOfCharacters?: number): StringBuilder;
6
+ Append(text: string): StringBuilder;
7
+ Append(text: string, numberOfCharacters: number): StringBuilder;
8
+ Append(text: string, startIndex: number, charCount: number): StringBuilder;
9
+ private AppendString;
10
+ private AppendNumber;
11
+ AppendLine(text?: string): void;
12
+ AppendFormat(format: string, arg0: any): StringBuilder;
13
+ AppendFormat(format: string, arg0: any, arg1: any): StringBuilder;
14
+ AppendFormat(format: string, arg0: any, arg1: any, arg2: any): StringBuilder;
15
+ ToString(): string;
16
+ ToString(startIndex: number, length: number): string;
17
+ get Length(): number;
18
+ get_Item(index: number): string;
19
+ set_Item(index: number, value: string): void;
20
+ Insert(index: number, value: string): StringBuilder;
21
+ Remove(startIndex: number, length: number): StringBuilder;
22
+ Replace(oldValue: string, newValue: string): StringBuilder;
23
+ Replace(oldValue: string, newValue: string, startIndex: number, count: number): StringBuilder;
24
+ toString(): string;
25
+ }
@@ -1,64 +1,64 @@
1
- export declare const $EOF = 0;
2
- export declare const $TAB = 9;
3
- export declare const $LF = 10;
4
- export declare const $VTAB = 11;
5
- export declare const $FF = 12;
6
- export declare const $CR = 13;
7
- export declare const $SPACE = 32;
8
- export declare const $BANG = 33;
9
- export declare const $DQ = 34;
10
- export declare const $HASH = 35;
11
- export declare const $$ = 36;
12
- export declare const $PERCENT = 37;
13
- export declare const $AMPERSAND = 38;
14
- export declare const $SQ = 39;
15
- export declare const $LPAREN = 40;
16
- export declare const $RPAREN = 41;
17
- export declare const $STAR = 42;
18
- export declare const $PLUS = 43;
19
- export declare const $COMMA = 44;
20
- export declare const $MINUS = 45;
21
- export declare const $PERIOD = 46;
22
- export declare const $SLASH = 47;
23
- export declare const $COLON = 58;
24
- export declare const $SEMICOLON = 59;
25
- export declare const $LT = 60;
26
- export declare const $EQ = 61;
27
- export declare const $GT = 62;
28
- export declare const $QUESTION = 63;
29
- export declare const $0 = 48;
30
- export declare const $9 = 57;
31
- export declare const $A = 65;
32
- export declare const $E = 69;
33
- export declare const $F = 70;
34
- export declare const $X = 88;
35
- export declare const $Z = 90;
36
- export declare const $LBRACKET = 91;
37
- export declare const $BACKSLASH = 92;
38
- export declare const $RBRACKET = 93;
39
- export declare const $CARET = 94;
40
- export declare const $_ = 95;
41
- export declare const $a = 97;
42
- export declare const $e = 101;
43
- export declare const $f = 102;
44
- export declare const $n = 110;
45
- export declare const $r = 114;
46
- export declare const $t = 116;
47
- export declare const $u = 117;
48
- export declare const $v = 118;
49
- export declare const $x = 120;
50
- export declare const $z = 122;
51
- export declare const $LBRACE = 123;
52
- export declare const $BAR = 124;
53
- export declare const $RBRACE = 125;
54
- export declare const $NBSP = 160;
55
- export declare const $PIPE = 124;
56
- export declare const $TILDA = 126;
57
- export declare const $AT = 64;
58
- export declare const $BT = 96;
59
- export declare function isWhitespace(code: number): boolean;
60
- export declare function isDigit(code: number): boolean;
61
- export declare function isAsciiLetter(code: number): boolean;
62
- export declare function isAsciiHexDigit(code: number): boolean;
63
- export declare function isLowerCase(str: string): boolean;
64
- export declare function isUpperCase(str: string): boolean;
1
+ export declare const $EOF = 0;
2
+ export declare const $TAB = 9;
3
+ export declare const $LF = 10;
4
+ export declare const $VTAB = 11;
5
+ export declare const $FF = 12;
6
+ export declare const $CR = 13;
7
+ export declare const $SPACE = 32;
8
+ export declare const $BANG = 33;
9
+ export declare const $DQ = 34;
10
+ export declare const $HASH = 35;
11
+ export declare const $$ = 36;
12
+ export declare const $PERCENT = 37;
13
+ export declare const $AMPERSAND = 38;
14
+ export declare const $SQ = 39;
15
+ export declare const $LPAREN = 40;
16
+ export declare const $RPAREN = 41;
17
+ export declare const $STAR = 42;
18
+ export declare const $PLUS = 43;
19
+ export declare const $COMMA = 44;
20
+ export declare const $MINUS = 45;
21
+ export declare const $PERIOD = 46;
22
+ export declare const $SLASH = 47;
23
+ export declare const $COLON = 58;
24
+ export declare const $SEMICOLON = 59;
25
+ export declare const $LT = 60;
26
+ export declare const $EQ = 61;
27
+ export declare const $GT = 62;
28
+ export declare const $QUESTION = 63;
29
+ export declare const $0 = 48;
30
+ export declare const $9 = 57;
31
+ export declare const $A = 65;
32
+ export declare const $E = 69;
33
+ export declare const $F = 70;
34
+ export declare const $X = 88;
35
+ export declare const $Z = 90;
36
+ export declare const $LBRACKET = 91;
37
+ export declare const $BACKSLASH = 92;
38
+ export declare const $RBRACKET = 93;
39
+ export declare const $CARET = 94;
40
+ export declare const $_ = 95;
41
+ export declare const $a = 97;
42
+ export declare const $e = 101;
43
+ export declare const $f = 102;
44
+ export declare const $n = 110;
45
+ export declare const $r = 114;
46
+ export declare const $t = 116;
47
+ export declare const $u = 117;
48
+ export declare const $v = 118;
49
+ export declare const $x = 120;
50
+ export declare const $z = 122;
51
+ export declare const $LBRACE = 123;
52
+ export declare const $BAR = 124;
53
+ export declare const $RBRACE = 125;
54
+ export declare const $NBSP = 160;
55
+ export declare const $PIPE = 124;
56
+ export declare const $TILDA = 126;
57
+ export declare const $AT = 64;
58
+ export declare const $BT = 96;
59
+ export declare function isWhitespace(code: number): boolean;
60
+ export declare function isDigit(code: number): boolean;
61
+ export declare function isAsciiLetter(code: number): boolean;
62
+ export declare function isAsciiHexDigit(code: number): boolean;
63
+ export declare function isLowerCase(str: string): boolean;
64
+ export declare function isUpperCase(str: string): boolean;