forked from JavaTX/JavaCompilerCore
trying to add more classes, currently failing
This commit is contained in:
parent
e0775b463a
commit
1e8444d5ff
5
makefile
5
makefile
@ -1,7 +1,7 @@
|
|||||||
JFLAGS = -g:none
|
JFLAGS = -g:none
|
||||||
JC = javac
|
JC = javac
|
||||||
|
|
||||||
JTX = JavaTXcompiler-0.1-jar-with-dependencies.jar
|
JTX = JavaTXcompiler-0.3-jar-with-dependencies.jar
|
||||||
|
|
||||||
SRCDIR = src/main/java
|
SRCDIR = src/main/java
|
||||||
DESTDIR = out
|
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
|
# Create a list of directories that need to be created in the destination directory
|
||||||
DIRS := $(sort $(dir $(JAVACLASSES))) $(sort $(dir $(JAVCLASSES)))
|
DIRS := $(sort $(dir $(JAVACLASSES))) $(sort $(dir $(JAVCLASSES)))
|
||||||
|
|
||||||
all:
|
|
||||||
@echo "$(JAVCLASSES)"
|
|
||||||
|
|
||||||
default: classes
|
default: classes
|
||||||
|
|
||||||
# Rule for creating directories
|
# Rule for creating directories
|
||||||
|
@ -12,6 +12,8 @@ import java.util.stream.Stream;
|
|||||||
|
|
||||||
import static org.objectweb.asm.Opcodes.*;
|
import static org.objectweb.asm.Opcodes.*;
|
||||||
|
|
||||||
|
import java.lang.String;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* //ToDo beschreiben
|
* //ToDo beschreiben
|
||||||
*
|
*
|
||||||
|
@ -2,6 +2,8 @@ package de.dhbwstuttgart.bytecode;
|
|||||||
|
|
||||||
import org.objectweb.asm.*;
|
import org.objectweb.asm.*;
|
||||||
|
|
||||||
|
import java.lang.String;
|
||||||
|
|
||||||
public class JavaTXSignatureAttribute extends Attribute {
|
public class JavaTXSignatureAttribute extends Attribute {
|
||||||
public String signature;
|
public String signature;
|
||||||
|
|
||||||
|
@ -4,7 +4,6 @@ import de.dhbwstuttgart.bytecode.FunNGenerator;
|
|||||||
import de.dhbwstuttgart.core.JavaTXCompiler;
|
import de.dhbwstuttgart.core.JavaTXCompiler;
|
||||||
import de.dhbwstuttgart.environment.ByteArrayClassLoader;
|
import de.dhbwstuttgart.environment.ByteArrayClassLoader;
|
||||||
import de.dhbwstuttgart.environment.IByteArrayClassLoader;
|
import de.dhbwstuttgart.environment.IByteArrayClassLoader;
|
||||||
import de.dhbwstuttgart.exceptions.NotImplementedException;
|
|
||||||
import de.dhbwstuttgart.parser.NullToken;
|
import de.dhbwstuttgart.parser.NullToken;
|
||||||
import de.dhbwstuttgart.syntaxtree.*;
|
import de.dhbwstuttgart.syntaxtree.*;
|
||||||
import de.dhbwstuttgart.syntaxtree.Record;
|
import de.dhbwstuttgart.syntaxtree.Record;
|
||||||
@ -16,11 +15,8 @@ import de.dhbwstuttgart.target.tree.expression.*;
|
|||||||
import de.dhbwstuttgart.target.tree.type.*;
|
import de.dhbwstuttgart.target.tree.type.*;
|
||||||
import de.dhbwstuttgart.typeinference.result.*;
|
import de.dhbwstuttgart.typeinference.result.*;
|
||||||
|
|
||||||
import javax.sql.rowset.RowSetWarning;
|
|
||||||
import java.lang.annotation.Target;
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
import java.util.stream.Stream;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author dholle
|
* @author dholle
|
||||||
|
@ -3,7 +3,7 @@ package de.dhbwstuttgart.typeinference.assumptions;
|
|||||||
import de.dhbwstuttgart.syntaxtree.TypeScope;
|
import de.dhbwstuttgart.syntaxtree.TypeScope;
|
||||||
|
|
||||||
public class Assumption {
|
public class Assumption {
|
||||||
private final typeScope;
|
private final TypeScope typeScope;
|
||||||
|
|
||||||
public Assumption(typeScope) {
|
public Assumption(typeScope) {
|
||||||
this.typeScope = typeScope;
|
this.typeScope = typeScope;
|
||||||
|
Loading…
Reference in New Issue
Block a user