JavaPatternMatching/src/de/dhbwstuttgart/syntaxtree/statement/EmptyStmt.java

100 lines
2.8 KiB
Java
Raw Normal View History

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;
import org.apache.commons.bcel6.generic.ClassGen;
import org.apache.commons.bcel6.generic.InstructionList;
import de.dhbwstuttgart.typeinference.Menge;
import de.dhbwstuttgart.bytecode.ClassGenerator;
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;
import de.dhbwstuttgart.typeinference.TypeinferenceResultSet;
2014-09-02 08:33:54 +00:00
import de.dhbwstuttgart.typeinference.assumptions.TypeAssumptions;
import de.dhbwstuttgart.typeinference.exceptions.NotImplementedException;
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
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
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
@Override
public Menge<SyntaxTreeNode> getChildren() {
return new Menge<SyntaxTreeNode>();
}
@Override
public InstructionList genByteCode(ClassGenerator _cg, TypeinferenceResultSet rs) {
// TODO Bytecode
throw new NotImplementedException();
}
2013-10-18 11:33:46 +00:00
}
// ino.end