[hir] Introduce ObjectMethod type

This will be used to store fields representing an object method.
This commit is contained in:
Sathya Gunasekaran
2023-09-15 16:28:44 +01:00
parent 365a88a8aa
commit 3bda9f78c3
@@ -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