From 42512ab2cfd16422909263475b044f40b3829707 Mon Sep 17 00:00:00 2001 From: bd-912 Date: Fri, 26 Apr 2024 18:46:54 -0600 Subject: Most simple methods reimplemented in HeatVisitor --- heat/TypeBundle.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'heat/TypeBundle.java') diff --git a/heat/TypeBundle.java b/heat/TypeBundle.java index 44e3749..d8bfb4f 100644 --- a/heat/TypeBundle.java +++ b/heat/TypeBundle.java @@ -9,8 +9,8 @@ import st.ClassInstance; */ class TypeBundle { - TypeEnum type; - ClassInstance instance; + private TypeEnum type; + private ClassInstance instance; protected TypeBundle(TypeEnum type, ClassInstance instance) { this.type = type; @@ -49,4 +49,8 @@ class TypeBundle { return this.type == TypeEnum.integer; } + public TypeEnum getType() { + return this.type; + } + } -- cgit v1.2.3