summaryrefslogtreecommitdiff
path: root/src/semanticanalysis
diff options
context:
space:
mode:
authorEmanuele Grasso <96300448+L0P0P@users.noreply.github.com>2024-06-24 15:37:12 +0200
committerGitHub <noreply@github.com>2024-06-24 15:37:12 +0200
commit54b2c77e6875c1abb3d73fdfd0de924e75633087 (patch)
tree2be8d3ff7ac912c85c31637babb055efb344ae98 /src/semanticanalysis
parent8e7089a5d6ba1f4f50a90133bb50bc5c6c554aff (diff)
Package refactoring to avoid verbose paths (#4)
Diffstat (limited to 'src/semanticanalysis')
-rw-r--r--src/semanticanalysis/STentry.java4
-rw-r--r--src/semanticanalysis/SemanticError.java2
-rw-r--r--src/semanticanalysis/SymbolTable.java5
3 files changed, 5 insertions, 6 deletions
diff --git a/src/semanticanalysis/STentry.java b/src/semanticanalysis/STentry.java
index 42990fa..0e4b00e 100644
--- a/src/semanticanalysis/STentry.java
+++ b/src/semanticanalysis/STentry.java
@@ -1,6 +1,6 @@
-package com.clp.project.semanticanalysis;
+package semanticanalysis;
-import com.clp.project.ast.types.Type;
+import ast.types.Type;
/**
* Entry class for the symbol table.
diff --git a/src/semanticanalysis/SemanticError.java b/src/semanticanalysis/SemanticError.java
index 1df1ce9..745e3fb 100644
--- a/src/semanticanalysis/SemanticError.java
+++ b/src/semanticanalysis/SemanticError.java
@@ -1,4 +1,4 @@
-package com.clp.project.semanticanalysis;
+package semanticanalysis;
/**
* Class respresents a semantic error.
diff --git a/src/semanticanalysis/SymbolTable.java b/src/semanticanalysis/SymbolTable.java
index d4fda37..f2876db 100644
--- a/src/semanticanalysis/SymbolTable.java
+++ b/src/semanticanalysis/SymbolTable.java
@@ -1,9 +1,8 @@
-package com.clp.project.semanticanalysis;
+package semanticanalysis;
import java.util.ArrayList;
import java.util.HashMap;
-import com.clp.project.ast.*;
-import com.clp.project.ast.types.*;
+import ast.types.*;
/**
* Class representing a symbol table. It's a list of hash table symbol table. We