forked from JavaTX/JavaCompilerCore
Merge branch 'bigRefactoring' into patternMatching
This commit is contained in:
commit
93cf39cfe9
pom.xml
resources
AllgemeinTest
bytecode/javFiles
AA.javAddLong.javAssignToLit.javBB.javBinaryInMeth.javBox.javBox.javaCC.javClassGenLam.javCycle.classCycle.javDD.javDuMethod.javEmptyClass.javEmptyMethod.javExample.javExceptions.javExpressions.javFC_Matrix.javFac.javFaculty.javFaculty2.javFacultyIf.javFacultyTyped.javField.javFieldAccess.javFieldTph.javFieldTph2.javFieldTphConsMeth.javFieldTphMMeth.javFields.javFor.javFunOL.javGen.javGenerics.javGenerics2.javGenerics3.javGenerics4.javGreaterEqual.javGreaterThan.javId.javIfTest.javImport.javInf.javInfimum.javInherit.javInherit2.javInterface1.javKompTph.javLamRunnable.javLambda.javLambda2.javLambda3.javLambda4.javLambdaCapture.javLambdaField.javLambdaRunnable.javLambdaVoid.javLessEqual.javLessThan.javListenerOverload.javMatrix.javMatrixOP.javMerge.javMeth_Gen.javMethodCallGenerics.javMethodWildcardGen.javMethods.javMethodsEasy.javOL.javOLFun.javOLFun2.javOp.javOp1.javOp2.javOverlaodGen.javOverloading.javPackage.javPair.javPlus.javPostIncDec.javPreInc.javPut.javRecursiveMeth.javRelOps.javReturnMethod.javScalar.javSimpleCycle.javSorting.javStaticM.javSubMatrix.javSubclass.javSuperclass.javTXGenerics.javTph.javTph2.javTph3.javTph4.jav
10
pom.xml
10
pom.xml
@ -54,7 +54,12 @@ http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<version>3.11.0</version>
|
||||
<configuration>
|
||||
<compilerArgs>--enable-preview</compilerArgs>
|
||||
<<<<<<< HEAD
|
||||
<source>20</source>
|
||||
<target>20</target>
|
||||
=======
|
||||
<release>20</release>
|
||||
>>>>>>> patternMatching
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
@ -122,6 +127,11 @@ http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
</repository>
|
||||
</repositories>
|
||||
<properties>
|
||||
<<<<<<< HEAD
|
||||
<maven.compiler.source>20</maven.compiler.source>
|
||||
<maven.compiler.target>20</maven.compiler.target>
|
||||
=======
|
||||
>>>>>>> patternMatching
|
||||
<mainClass>de.dhbwstuttgart.core.ConsoleInterface</mainClass>
|
||||
</properties>
|
||||
<distributionManagement>
|
||||
|
@ -20,18 +20,24 @@ class Pair<T, U> {
|
||||
|
||||
|
||||
public class Iteration {
|
||||
id(x) {
|
||||
return x;
|
||||
}
|
||||
|
||||
m1(x, y) {
|
||||
var help;
|
||||
help = m2(x, y);
|
||||
var y2 = help.snd();
|
||||
return new Pair<>(x,y2);
|
||||
|
||||
var x2 = id(x);
|
||||
return new Pair<>(x2,y2);
|
||||
|
||||
}
|
||||
|
||||
m2(x,y) {
|
||||
var help = m1(x, y);
|
||||
var x2 = help.fst();
|
||||
return new Pair<>(x2, y);
|
||||
var y2 = id(y);
|
||||
return new Pair<>(x2, y2);
|
||||
}
|
||||
}
|
||||
|
BIN
resources/bytecode/javFiles/Cycle.class
Normal file
BIN
resources/bytecode/javFiles/Cycle.class
Normal file
Binary file not shown.
0
src/test/resources/javFiles/FieldTphConsMeth.jav → resources/bytecode/javFiles/FieldTphConsMeth.jav
0
src/test/resources/javFiles/FieldTphConsMeth.jav → resources/bytecode/javFiles/FieldTphConsMeth.jav
0
src/test/resources/javFiles/ListenerOverload.jav → resources/bytecode/javFiles/ListenerOverload.jav
0
src/test/resources/javFiles/ListenerOverload.jav → resources/bytecode/javFiles/ListenerOverload.jav
@ -1,4 +1,3 @@
|
||||
import java.lang.Integer;
|
||||
import java.lang.Double;
|
||||
import java.lang.String;
|
||||
import java.lang.Long;
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user