updates
This commit is contained in:
5
.idea/CompilerProjekt.iml
generated
5
.idea/CompilerProjekt.iml
generated
@ -1,5 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<module external.linked.project.id="CompilerProjekt:main" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="de.churl" external.system.module.version="1.0-SNAPSHOT" type="JAVA_MODULE" version="4">
|
<module external.linked.project.id="CompilerProjekt:main" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="de.churl" external.system.module.version="1.0-SNAPSHOT" type="JAVA_MODULE" version="4">
|
||||||
|
<component name="CheckStyle-IDEA-Module">
|
||||||
|
<option name="configuration">
|
||||||
|
<map />
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
<exclude-output />
|
<exclude-output />
|
||||||
<content url="file://$MODULE_DIR$">
|
<content url="file://$MODULE_DIR$">
|
||||||
|
@ -86,6 +86,7 @@ class Demo {
|
|||||||
AST tree = stupsParser.parse(lex.getAllTokens(), lex.getVocabulary());
|
AST tree = stupsParser.parse(lex.getAllTokens(), lex.getVocabulary());
|
||||||
|
|
||||||
tree.postprocess(grammar);
|
tree.postprocess(grammar);
|
||||||
|
System.out.println("After Postprocessing:" + tree);
|
||||||
|
|
||||||
TypeChecker.validate(tree);
|
TypeChecker.validate(tree);
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
class MyClass {
|
class C {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
boolean x = false && true;
|
int a = 1;
|
||||||
|
int b = 1;
|
||||||
|
|
||||||
|
int c = (a + b) * 3 / (1 - 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user