@samitouri / QOS-React-1 Mirror · read-only / commits / 3bda9f78c3
Fork 0

The library for web and native user interfaces.

Mirrored from https://github.com/247TaxiDriver/QOS-React.git

Synced Nov 14, 05:30 UTC

[hir] Introduce ObjectMethod type

This will be used to store fields representing an object method.

Sathya Gunasekaran committed Sep 15, 2023 at 16:28 UTC 3bda9f78c3ea8cfadf8cc3316f99a2ea9a5f38a7
1 file changed +7
compiler/packages/babel-plugin-react-forget/src/HIR/HIR.ts
+7
@@ -557,6 +557,13 @@ export type ObjectProperty = {
557 place: Place;
558 };
559
560 +export type ObjectMethod = {
561 + kind: "ObjectMethod";
562 + dependencies: Array<Place>;
563 + loweredFunc: HIRFunction;
564 + loc: SourceLocation;
565 +};
566 +
567 export enum InstructionKind {
568 /**
569 * const declaration