2013-10-18 11:33:46 +00:00
|
|
|
// ino.module.EmptyStmt.8629.package
|
2014-09-02 08:33:54 +00:00
|
|
|
package de.dhbwstuttgart.syntaxtree.statement;
|
2013-10-18 11:33:46 +00:00
|
|
|
// ino.end
|
|
|
|
// ino.module.EmptyStmt.8629.import
|
|
|
|
import java.util.Hashtable;
|
2014-02-09 15:07:31 +00:00
|
|
|
|
2015-09-02 15:11:32 +00:00
|
|
|
import org.apache.commons.bcel6.generic.ClassGen;
|
2015-10-13 17:25:51 +00:00
|
|
|
import org.apache.commons.bcel6.generic.InstructionList;
|
2014-10-07 13:36:18 +00:00
|
|
|
|
2015-06-16 12:58:27 +00:00
|
|
|
import de.dhbwstuttgart.typeinference.Menge;
|
2015-10-13 17:25:51 +00:00
|
|
|
import de.dhbwstuttgart.bytecode.ClassGenerator;
|
2015-06-16 12:58:27 +00:00
|
|
|
import de.dhbwstuttgart.logger.Logger;
|
2014-09-04 14:35:44 +00:00
|
|
|
import de.dhbwstuttgart.myexception.CTypeReconstructionException;
|
|
|
|
import de.dhbwstuttgart.myexception.JVMCodeException;
|
2014-09-02 08:33:54 +00:00
|
|
|
import de.dhbwstuttgart.syntaxtree.Class;
|
2014-09-04 14:35:44 +00:00
|
|
|
import de.dhbwstuttgart.syntaxtree.SyntaxTreeNode;
|
2014-09-02 08:33:54 +00:00
|
|
|
import de.dhbwstuttgart.syntaxtree.type.GenericTypeVar;
|
|
|
|
import de.dhbwstuttgart.syntaxtree.type.Type;
|
|
|
|
import de.dhbwstuttgart.typeinference.ConstraintsSet;
|
|
|
|
import de.dhbwstuttgart.typeinference.JavaCodeResult;
|
|
|
|
import de.dhbwstuttgart.typeinference.ResultSet;
|
2015-11-27 15:10:35 +00:00
|
|
|
import de.dhbwstuttgart.typeinference.TypeinferenceResultSet;
|
2014-09-02 08:33:54 +00:00
|
|
|
import de.dhbwstuttgart.typeinference.assumptions.TypeAssumptions;
|
2014-10-07 13:36:18 +00:00
|
|
|
import de.dhbwstuttgart.typeinference.exceptions.NotImplementedException;
|
2014-09-05 09:49:31 +00:00
|
|
|
import de.dhbwstuttgart.typeinference.unify.CSubstitutionSet;
|
2013-10-18 11:33:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ino.class.EmptyStmt.25203.declaration
|
|
|
|
public class EmptyStmt extends Statement
|
|
|
|
// ino.end
|
|
|
|
// ino.class.EmptyStmt.25203.body
|
|
|
|
{
|
|
|
|
// ino.method.EmptyStmt.25207.definition
|
|
|
|
public EmptyStmt()
|
|
|
|
// ino.end
|
|
|
|
// ino.method.EmptyStmt.25207.body
|
|
|
|
{
|
|
|
|
super(-1,-1);
|
|
|
|
}
|
|
|
|
// ino.end
|
|
|
|
|
|
|
|
// ino.attribute.parserlog.25210.declaration
|
|
|
|
protected static Logger parserlog = Logger.getLogger("parser");
|
|
|
|
// ino.end
|
2014-11-04 12:47:05 +00:00
|
|
|
/*
|
2013-10-18 11:33:46 +00:00
|
|
|
// ino.method.sc_check.25213.definition
|
2015-04-22 19:40:22 +00:00
|
|
|
public void sc_check(Menge<Class> classlist, Hashtable ch, Hashtable<String, String> bh, boolean ext, Hashtable parach, Hashtable<String, Hashtable> parabh)
|
2013-10-18 11:33:46 +00:00
|
|
|
// ino.end
|
|
|
|
// ino.method.sc_check.25213.body
|
|
|
|
{
|
|
|
|
if(ext){
|
|
|
|
parserlog.debug(" ---EmptyStmt---");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ino.end
|
2014-11-04 12:47:05 +00:00
|
|
|
*/
|
|
|
|
|
2013-10-18 11:33:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
// ino.method.wandleRefTypeAttributes2GenericAttributes.25222.definition
|
2015-04-22 19:40:22 +00:00
|
|
|
public void wandleRefTypeAttributes2GenericAttributes(Menge<Type> paralist, Menge<GenericTypeVar> genericMethodParameters)
|
2013-10-18 11:33:46 +00:00
|
|
|
// ino.end
|
|
|
|
// ino.method.wandleRefTypeAttributes2GenericAttributes.25222.body
|
|
|
|
{
|
|
|
|
}
|
|
|
|
// ino.end
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public ConstraintsSet TYPEStmt(TypeAssumptions assumptions) {
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public int getTypeLineNumber() {
|
|
|
|
throw new NotImplementedException();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public JavaCodeResult printJavaCode(ResultSet resultSet) {
|
|
|
|
return new JavaCodeResult("");
|
|
|
|
}
|
2014-03-17 16:55:55 +00:00
|
|
|
|
2014-03-27 15:43:07 +00:00
|
|
|
@Override
|
2015-04-22 19:40:22 +00:00
|
|
|
public Menge<SyntaxTreeNode> getChildren() {
|
|
|
|
return new Menge<SyntaxTreeNode>();
|
2014-03-27 15:43:07 +00:00
|
|
|
}
|
|
|
|
|
2015-06-16 12:58:27 +00:00
|
|
|
@Override
|
2015-11-27 15:10:35 +00:00
|
|
|
public InstructionList genByteCode(ClassGenerator _cg, TypeinferenceResultSet rs) {
|
2015-10-13 17:25:51 +00:00
|
|
|
// TODO Bytecode
|
|
|
|
throw new NotImplementedException();
|
2015-06-16 12:58:27 +00:00
|
|
|
}
|
|
|
|
|
2013-10-18 11:33:46 +00:00
|
|
|
}
|
|
|
|
// ino.end
|