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 |
lhs |
Expr.BOp |
op |
Expr |
rhs |
Type |
srcType |
| Constructor and Description |
|---|
BinOp(Expr.BOp op,
Expr lhs,
Expr rhs,
wybs.lang.Attribute... attributes) |
BinOp(Expr.BOp op,
Expr lhs,
Expr rhs,
Collection<wybs.lang.Attribute> attributes) |
| Modifier and Type | Method and Description |
|---|---|
Type |
result()
Get the type that this expression will evaluate to.
|
Type |
srcType() |
String |
toString() |
public Expr.BOp op
public Expr lhs
public Expr rhs
public Type srcType
public BinOp(Expr.BOp op, Expr lhs, Expr rhs, Collection<wybs.lang.Attribute> attributes)
public Type result()
Exprpublic Type srcType()
Copyright © 2017. All rights reserved.