delete modifier
This commit is contained in:
parent
a9101d2c12
commit
370b2dbb06
@ -8,6 +8,8 @@ import java.util.List;
|
|||||||
|
|
||||||
public class MethodDecl implements IClass {
|
public class MethodDecl implements IClass {
|
||||||
|
|
||||||
|
// name
|
||||||
|
|
||||||
private HashMap<String, HashMap<String, HashMap<String, String>>> methodContext;
|
private HashMap<String, HashMap<String, HashMap<String, String>>> methodContext;
|
||||||
private HashMap<String, HashMap<String, String>> typeContext;
|
private HashMap<String, HashMap<String, String>> typeContext;
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@ import java.util.List;
|
|||||||
public class Program {
|
public class Program {
|
||||||
public List<RefType> classes;
|
public List<RefType> classes;
|
||||||
|
|
||||||
public HashMap<String, HashMap<String, String>> typeContext; // (class, (type, identifier))
|
public HashMap<String, HashMap<String, String>> attributContext; // (class, (type, identifier))
|
||||||
public HashMap<String, HashMap<String, HashMap<String, String>>> methodContext; // (class, (returntype, (identifier, parameter)))
|
public HashMap<String, HashMap<String, HashMap<String, List<String>>>> methodContext; // (class, (returntype, (identifier, parameter)))
|
||||||
|
|
||||||
public TypeCheckResult typeCheck() throws Exception{
|
public TypeCheckResult typeCheck() throws Exception{
|
||||||
for(RefType oneClass : classes){
|
for(RefType oneClass : classes){
|
||||||
|
Loading…
Reference in New Issue
Block a user