2013-10-18 11:33:46 +00:00
|
|
|
// ino.module.ExprStmt.8631.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.ExprStmt.8631.import
|
|
|
|
import java.util.Iterator;
|
2015-04-22 19:40:22 +00:00
|
|
|
import de.dhbwstuttgart.typeinference.Menge;
|
2014-09-02 08:33:54 +00:00
|
|
|
|
2014-10-09 10:01:16 +00:00
|
|
|
import de.dhbwstuttgart.logger.Logger;
|
2014-09-08 13:12:47 +00:00
|
|
|
|
2014-09-02 08:33:54 +00:00
|
|
|
import de.dhbwstuttgart.core.MyCompiler;
|
|
|
|
import de.dhbwstuttgart.syntaxtree.type.Type;
|
|
|
|
import de.dhbwstuttgart.syntaxtree.type.TypePlaceholder;
|
2014-09-08 13:12:47 +00:00
|
|
|
import de.dhbwstuttgart.typeinference.Pair;
|
2014-09-02 09:07:16 +00:00
|
|
|
import de.dhbwstuttgart.typeinference.unify.Unify;
|
2014-09-02 08:33:54 +00:00
|
|
|
|
2013-10-18 11:33:46 +00:00
|
|
|
// ino.class.ExprStmt.25265.declaration
|
2014-09-05 09:49:31 +00:00
|
|
|
public abstract class ExprStmt extends Statement
|
2013-10-18 11:33:46 +00:00
|
|
|
// ino.end
|
|
|
|
// ino.class.ExprStmt.25265.body
|
|
|
|
{
|
|
|
|
// ino.method.ExprStmt.25270.definition
|
|
|
|
public ExprStmt(int offset, int variableLength)
|
|
|
|
// ino.end
|
|
|
|
// ino.method.ExprStmt.25270.body
|
|
|
|
{
|
|
|
|
super(offset,variableLength);
|
|
|
|
}
|
|
|
|
// ino.end
|
|
|
|
|
|
|
|
|
|
|
|
// ino.attribute.type.25273.declaration
|
|
|
|
//protected Type type; // Type type;
|
|
|
|
// ino.end
|
|
|
|
// ino.attribute.inferencelog.25276.declaration
|
|
|
|
protected static Logger inferencelog = Logger.getLogger("inference");
|
|
|
|
// ino.end
|
|
|
|
|
|
|
|
// ino.method.getTypeName.25279.definition
|
|
|
|
public String getTypeName()
|
|
|
|
// ino.end
|
|
|
|
// ino.method.getTypeName.25279.body
|
|
|
|
{
|
2014-02-11 15:30:38 +00:00
|
|
|
if (getType()!=null)
|
2014-09-02 16:49:19 +00:00
|
|
|
return getType().getName().toString();
|
2013-10-18 11:33:46 +00:00
|
|
|
else
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
// ino.end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ino.method.getTypeLineNumber.25291.defdescription type=javadoc
|
|
|
|
/**
|
2015-05-12 12:57:12 +00:00
|
|
|
* <br>Author: J�rg B�uerle
|
2013-10-18 11:33:46 +00:00
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
// ino.end
|
|
|
|
// ino.method.getTypeLineNumber.25291.definition
|
|
|
|
public int getTypeLineNumber()
|
|
|
|
// ino.end
|
|
|
|
// ino.method.getTypeLineNumber.25291.body
|
|
|
|
{
|
|
|
|
return MyCompiler.NO_LINENUMBER;
|
|
|
|
}
|
|
|
|
// ino.end
|
|
|
|
|
|
|
|
}
|
|
|
|
// ino.end
|