trying to add more classes, currently failing

This commit is contained in:
julian 2024-01-25 11:05:51 +01:00
parent e0775b463a
commit 1e8444d5ff
6 changed files with 6 additions and 9 deletions

View File

@ -1,7 +1,7 @@
JFLAGS = -g:none
JC = javac
JTX = JavaTXcompiler-0.1-jar-with-dependencies.jar
JTX = JavaTXcompiler-0.3-jar-with-dependencies.jar
SRCDIR = src/main/java
DESTDIR = out
@ -17,9 +17,6 @@ JAVCLASSES := $(patsubst $(SRCDIR)/%.jav,$(DESTDIR)/%.class,$(JAVSOURCES))
# Create a list of directories that need to be created in the destination directory
DIRS := $(sort $(dir $(JAVACLASSES))) $(sort $(dir $(JAVCLASSES)))
all:
@echo "$(JAVCLASSES)"
default: classes
# Rule for creating directories

View File

@ -12,6 +12,8 @@ import java.util.stream.Stream;
import static org.objectweb.asm.Opcodes.*;
import java.lang.String;
/**
* //ToDo beschreiben
*

View File

@ -2,6 +2,8 @@ package de.dhbwstuttgart.bytecode;
import org.objectweb.asm.*;
import java.lang.String;
public class JavaTXSignatureAttribute extends Attribute {
public String signature;

View File

@ -4,7 +4,6 @@ import de.dhbwstuttgart.bytecode.FunNGenerator;
import de.dhbwstuttgart.core.JavaTXCompiler;
import de.dhbwstuttgart.environment.ByteArrayClassLoader;
import de.dhbwstuttgart.environment.IByteArrayClassLoader;
import de.dhbwstuttgart.exceptions.NotImplementedException;
import de.dhbwstuttgart.parser.NullToken;
import de.dhbwstuttgart.syntaxtree.*;
import de.dhbwstuttgart.syntaxtree.Record;
@ -16,11 +15,8 @@ import de.dhbwstuttgart.target.tree.expression.*;
import de.dhbwstuttgart.target.tree.type.*;
import de.dhbwstuttgart.typeinference.result.*;
import javax.sql.rowset.RowSetWarning;
import java.lang.annotation.Target;
import java.util.*;
import java.util.stream.Collectors;
import java.util.stream.Stream;
/**
* @author dholle

View File

@ -3,7 +3,7 @@ package de.dhbwstuttgart.typeinference.assumptions;
import de.dhbwstuttgart.syntaxtree.TypeScope;
public class Assumption {
private final typeScope;
private final TypeScope typeScope;
public Assumption(typeScope) {
this.typeScope = typeScope;