Hack the compiler to support 'abstract' keyword for mgc version. Abstract classes...
authorjzhou <jzhou>
Mon, 25 Oct 2010 22:49:57 +0000 (22:49 +0000)
committerjzhou <jzhou>
Mon, 25 Oct 2010 22:49:57 +0000 (22:49 +0000)
commit6bde630d5d61aef9f54f7378515d40d9985062f5
tree9aec6c269d14aa4b8207659f4d506cdfddb2e5ca
parentdee8fb32b884aa4a316b4e04434f7bb063012291
Hack the compiler to support 'abstract' keyword for mgc version. Abstract classes/methods can be compiled but fully semantic check is not supported. Now we generate an empty method for each declared abstract method and do not check if the subclasses have implemented their inheried abstract methods.
Robust/src/IR/ClassDescriptor.java
Robust/src/IR/MethodDescriptor.java
Robust/src/IR/Tree/BuildIR.java
Robust/src/IR/Tree/Modifiers.java
Robust/src/IR/Tree/SemanticCheck.java
Robust/src/Parse/java14.cup
Robust/src/Tests/AbstractTest.java [new file with mode: 0644]