Aufräumen

This commit is contained in:
JanUlrich 2018-03-08 01:44:40 +01:00
parent 3deaceec01
commit 83aaff140c
3 changed files with 4 additions and 2 deletions

View File

@ -158,6 +158,9 @@ public class ASPParser {
}
private void parseType(String statement){
//TODO: Diese Regel muss 3 Parameter parsen (TypPointer, TypName, ParameterlistenPointer)
throw new NotImplementedException();
/*
Pattern p = Pattern.compile(ASPRule.ASP_TYPE+"\\(([^,]+),([^,]+)\\)");
Matcher m = p.matcher(statement);
boolean b = m.matches();
@ -168,6 +171,7 @@ public class ASPParser {
List<String> params = this.getParams(rs);
this.types.put(ls,new ParsedType(ls, params));
}
*/
}
private List<String> getParams(String pointer) {

View File

@ -3,7 +3,6 @@ package asp;
import de.dhbwstuttgart.parser.NullToken;
import de.dhbwstuttgart.sat.asp.parser.ASPParser;
import de.dhbwstuttgart.sat.asp.writer.ASPFactory;
import de.dhbwstuttgart.sat.asp.writer.ASPGenerator;
import de.dhbwstuttgart.sat.asp.Clingo;
import de.dhbwstuttgart.syntaxtree.ClassOrInterface;
import de.dhbwstuttgart.syntaxtree.factory.ASTFactory;

View File

@ -2,7 +2,6 @@ package asp.typeinference;
import de.dhbwstuttgart.core.JavaTXCompiler;
import de.dhbwstuttgart.sat.asp.writer.ASPFactory;
import de.dhbwstuttgart.sat.asp.writer.ASPGenerator;
import de.dhbwstuttgart.syntaxtree.ClassOrInterface;
import de.dhbwstuttgart.syntaxtree.SourceFile;
import de.dhbwstuttgart.typeinference.constraints.ConstraintSet;