mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 15:12:12 +00:00
13 lines
380 B
TypeScript
13 lines
380 B
TypeScript
export class RegExp {
|
|
|
|
// @binding(CALL_NEW, [ STRING, STRING], OBJECT_HANDLE)
|
|
constructor(pattern: string, flags: string = "") { throw new Error("unreachable"); }
|
|
|
|
// @binding(CALL_THIS, [ STRING ], PASS_THRU)
|
|
test(search: string): bool { throw new Error("unreachable"); }
|
|
|
|
// @binding(CALL_THIS, [], STRING)
|
|
toString(): string { throw new Error("unreachable"); }
|
|
|
|
}
|