forked from JavaTX/JavaCompilerCore
93 lines
2.0 KiB
Java
93 lines
2.0 KiB
Java
|
// ino.module.Receiver.8650.package
|
|||
|
package mycompiler.mystatement;
|
|||
|
// ino.end
|
|||
|
// ino.module.Receiver.8650.import
|
|||
|
import java.util.Hashtable;
|
|||
|
import java.util.Vector;
|
|||
|
import mycompiler.myclass.Class;
|
|||
|
import mycompiler.myexception.SCStatementException;
|
|||
|
import org.apache.log4j.Logger;
|
|||
|
// ino.end
|
|||
|
|
|||
|
import typinferenz.JavaCodeResult;
|
|||
|
import typinferenz.ResultSet;
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
// ino.class.Receiver.26123.declaration
|
|||
|
public class Receiver
|
|||
|
// ino.end
|
|||
|
// ino.class.Receiver.26123.body
|
|||
|
{
|
|||
|
// ino.attribute.expr.26126.declaration
|
|||
|
private Expr expr;
|
|||
|
// ino.end
|
|||
|
// ino.attribute.parserlog.26129.declaration
|
|||
|
protected static Logger parserlog = Logger.getLogger("parser");
|
|||
|
// ino.end
|
|||
|
|
|||
|
// ino.method.Receiver.26132.defdescription type=javadoc
|
|||
|
/**
|
|||
|
* Autor: J<EFBFBD>rg B<EFBFBD>uerle
|
|||
|
* @param expr
|
|||
|
*/
|
|||
|
// ino.end
|
|||
|
// ino.method.Receiver.26132.definition
|
|||
|
public Receiver(Expr expr)
|
|||
|
// ino.end
|
|||
|
// ino.method.Receiver.26132.body
|
|||
|
{
|
|||
|
this.expr = expr;
|
|||
|
}
|
|||
|
// ino.end
|
|||
|
|
|||
|
// ino.method.get_Type.26138.definition
|
|||
|
public String get_Type()
|
|||
|
// ino.end
|
|||
|
// ino.method.get_Type.26138.body
|
|||
|
{
|
|||
|
return expr.getTypeName();
|
|||
|
}
|
|||
|
// ino.end
|
|||
|
|
|||
|
// ino.method.set_Expr.26141.definition
|
|||
|
public void set_Expr(Expr express)
|
|||
|
// ino.end
|
|||
|
// ino.method.set_Expr.26141.body
|
|||
|
{
|
|||
|
expr=express;
|
|||
|
}
|
|||
|
// ino.end
|
|||
|
|
|||
|
// ino.method.get_Expr.26144.definition
|
|||
|
public Expr get_Expr()
|
|||
|
// ino.end
|
|||
|
// ino.method.get_Expr.26144.body
|
|||
|
{
|
|||
|
return expr;
|
|||
|
}
|
|||
|
// ino.end
|
|||
|
|
|||
|
// ino.method.toString.26147.defdescription type=javadoc
|
|||
|
/**
|
|||
|
* <br/>Author: Martin Pl<EFBFBD>micke
|
|||
|
* @return
|
|||
|
*/
|
|||
|
// ino.end
|
|||
|
// ino.method.toString.26147.definition
|
|||
|
public String toString()
|
|||
|
// ino.end
|
|||
|
// ino.method.toString.26147.body
|
|||
|
{
|
|||
|
return expr.toString();
|
|||
|
}
|
|||
|
// ino.end
|
|||
|
|
|||
|
|
|||
|
public JavaCodeResult printJavaCode(ResultSet resultSet) {
|
|||
|
return new JavaCodeResult().attach(this.get_Expr().printJavaCode(resultSet));
|
|||
|
}
|
|||
|
}
|
|||
|
// ino.end
|