Expr.AbstractFunctionOrMethod, Expr.AbstractIndirectInvoke, Expr.AbstractInvoke, Expr.AbstractVariable, Expr.ArrayGenerator, Expr.ArrayInitialiser, Expr.AssignedVariable, Expr.BinOp, Expr.BOp, Expr.Cast, Expr.Constant, Expr.ConstantAccess, Expr.Dereference, Expr.FieldAccess, Expr.FunctionCall, Expr.FunctionOrMethod, Expr.FunctionOrMethodCall, Expr.IndexOf, Expr.IndirectFunctionCall, Expr.IndirectFunctionOrMethodCall, Expr.IndirectMethodCall, Expr.Lambda, Expr.LocalVariable, Expr.LVal, Expr.MethodCall, Expr.Multi, Expr.New, Expr.PropertyCall, Expr.QOp, Expr.Quantifier, Expr.Record, Expr.TypeVal, Expr.UnOp, Expr.UOp| Modifier and Type | Field and Description |
|---|---|
Expr |
body |
HashSet<String> |
contextLifetimes |
ArrayList<String> |
lifetimeParameters |
ArrayList<WhileyFile.Parameter> |
parameters |
Type.FunctionOrMethod |
type |
| Constructor and Description |
|---|
Lambda(Collection<WhileyFile.Parameter> parameters,
Collection<String> contextLifetimes,
Collection<String> lifetimeParameters,
Expr body,
wybs.lang.Attribute... attributes) |
Lambda(Collection<WhileyFile.Parameter> parameters,
Collection<String> contextLifetimes,
Collection<String> lifetimeParameters,
Expr body,
Collection<wybs.lang.Attribute> attributes) |
| Modifier and Type | Method and Description |
|---|---|
Type.FunctionOrMethod |
result()
Get the type that this expression will evaluate to.
|
public final ArrayList<WhileyFile.Parameter> parameters
public Expr body
public Type.FunctionOrMethod type
public Lambda(Collection<WhileyFile.Parameter> parameters, Collection<String> contextLifetimes, Collection<String> lifetimeParameters, Expr body, wybs.lang.Attribute... attributes)
public Lambda(Collection<WhileyFile.Parameter> parameters, Collection<String> contextLifetimes, Collection<String> lifetimeParameters, Expr body, Collection<wybs.lang.Attribute> attributes)
public Type.FunctionOrMethod result()
ExprCopyright © 2017. All rights reserved.