public class LambdaExpression extends Expr
Modifier and Type | Field and Description |
---|---|
private Block |
method_body |
private ParameterList |
params |
inferencelog
parent
Constructor and Description |
---|
LambdaExpression(int offset,
int variableLength) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get_Name() |
Menge<SyntaxTreeNode> |
getChildren() |
java.lang.String |
getTypeInformation() |
JavaCodeResult |
printJavaCode(ResultSet resultSet) |
void |
setBody(Block block) |
void |
setExpr(Expr expression) |
void |
setParameterList(ParameterList params) |
java.lang.String |
toString() |
ConstraintsSet |
TYPEExpr(TypeAssumptions assumptions)
Spezifikation:
TYPEExpr( Ass, Lambda( (x1 , . . . , xN ), expr|stmt ) ) =
let
AssArgs = { xi : ai | ai fresh type variables }
(exprt : rty, ConS) = TYPEExpr( Ass ⪠AssArgs, expr )
| (stmtt : rty, ConS) = TYPEStmt( Ass u AssArgs, stmt )
in
(Lambda( (x1 : a1 , . . . , xN : aN ), exprt : rty|stmtt : rty ) : a,
ConS ⪠{ (FunN
|
ConstraintsSet |
TYPEStmt(TypeAssumptions ass) |
void |
wandleRefTypeAttributes2GenericAttributes(Menge<Type> paralist,
Menge<GenericTypeVar> genericMethodParameters) |
get_Name_Menge, get_Type_Menge, get_UsedId, set_Type, set_UsedId
getTypeLineNumber, getTypeName
getDescription, getOffset, getReturnType, getType, getVariableLength, setReturnType, setType
addTypeInsertPoints, equals, getGTVDeclarationContext, getMatchingParentNode, getParent, getParentClass, parserPostProcessing, seesType
private Block method_body
private ParameterList params
public void setBody(Block block)
public void setExpr(Expr expression)
public void setParameterList(ParameterList params)
public void wandleRefTypeAttributes2GenericAttributes(Menge<Type> paralist, Menge<GenericTypeVar> genericMethodParameters)
wandleRefTypeAttributes2GenericAttributes
in class Statement
public ConstraintsSet TYPEExpr(TypeAssumptions assumptions)
public ConstraintsSet TYPEStmt(TypeAssumptions ass)
public java.lang.String getTypeInformation()
getTypeInformation
in class Statement
public java.lang.String toString()
toString
in class java.lang.Object
public JavaCodeResult printJavaCode(ResultSet resultSet)
printJavaCode
in class Statement
public Menge<SyntaxTreeNode> getChildren()
getChildren
in class SyntaxTreeNode