summaryrefslogtreecommitdiff
path: root/heat/TypeBundle.java
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-04-26 18:46:54 -0600
committerbd-912 <bdunahu@colostate.edu>2024-04-26 18:46:54 -0600
commit42512ab2cfd16422909263475b044f40b3829707 (patch)
tree80e48cd04ef86900f77e7e63e57147499c9b5e43 /heat/TypeBundle.java
parent289a419681bfde1edd91a695ca97116a57d62433 (diff)
Most simple methods reimplemented in HeatVisitor
Diffstat (limited to 'heat/TypeBundle.java')
-rw-r--r--heat/TypeBundle.java8
1 files changed, 6 insertions, 2 deletions
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;
+ }
+
}