diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-04-26 18:46:54 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-04-26 18:46:54 -0600 |
commit | 42512ab2cfd16422909263475b044f40b3829707 (patch) | |
tree | 80e48cd04ef86900f77e7e63e57147499c9b5e43 /heat/TypeBundle.java | |
parent | 289a419681bfde1edd91a695ca97116a57d62433 (diff) |
Most simple methods reimplemented in HeatVisitor
Diffstat (limited to 'heat/TypeBundle.java')
-rw-r--r-- | heat/TypeBundle.java | 8 |
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; + } + } |