mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[hir] Introduce ObjectMethod type
This will be used to store fields representing an object method.
This commit is contained in:
@@ -557,6 +557,13 @@ export type ObjectProperty = {
|
||||
place: Place;
|
||||
};
|
||||
|
||||
export type ObjectMethod = {
|
||||
kind: "ObjectMethod";
|
||||
dependencies: Array<Place>;
|
||||
loweredFunc: HIRFunction;
|
||||
loc: SourceLocation;
|
||||
};
|
||||
|
||||
export enum InstructionKind {
|
||||
/**
|
||||
* const declaration
|
||||
|
||||
Reference in New Issue
Block a user