summaryrefslogtreecommitdiffstats
path: root/src/ast/types/IntType.java
diff options
context:
space:
mode:
authorgeno <gabriele.genovese2@studio.unibo.it>2024-06-30 11:36:37 +0000
committergeno <gabriele.genovese2@studio.unibo.it>2024-06-30 11:36:37 +0000
commitafff6a80cd58f7787efa1398f7c8cbdce8989323 (patch)
treee6021201d6e7049da640687c7ce61c898aaea4d8 /src/ast/types/IntType.java
parentaaa97e2e41c0aa17a6f99099dd39bb73a935fe02 (diff)
fixed warnings, better formatting, final added where possible
Diffstat (limited to 'src/ast/types/IntType.java')
-rw-r--r--src/ast/types/IntType.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast/types/IntType.java b/src/ast/types/IntType.java
index a29518b..6483d93 100644
--- a/src/ast/types/IntType.java
+++ b/src/ast/types/IntType.java
@@ -4,6 +4,8 @@ package ast.types;
* An integer type.
*/
public class IntType extends Type {
+
+ @Override
public String toPrint(String prefix) {
return prefix + "Int\n";
}