Compare commits

...

2 Commits

Author SHA1 Message Date
Krauß, Josefine
0f61e843a4 Merge remote-tracking branch 'origin/master' 2024-05-08 13:51:13 +02:00
Krauß, Josefine
370b2dbb06 delete modifier 2024-05-08 13:51:00 +02:00
2 changed files with 4 additions and 2 deletions

View File

@ -8,6 +8,8 @@ import java.util.List;
public class MethodDecl implements IClass {
// name
private HashMap<String, HashMap<String, HashMap<String, String>>> methodContext;
private HashMap<String, HashMap<String, String>> typeContext;

View File

@ -11,8 +11,8 @@ import java.util.List;
public class Program {
public List<RefType> classes;
public HashMap<String, HashMap<String, String>> typeContext; // (class, (type, identifier))
public HashMap<String, HashMap<String, HashMap<String, String>>> methodContext; // (class, (returntype, (identifier, parameter)))
public HashMap<String, HashMap<String, String>> attributContext; // (class, (type, identifier))
public HashMap<String, HashMap<String, HashMap<String, List<String>>>> methodContext; // (class, (returntype, (identifier, parameter)))
public TypeCheckResult typeCheck() throws Exception{
for(RefType oneClass : classes){