public static class Expr.LocalVariable extends Expr.AbstractVariable
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 |
|---|---|
Type |
type |
var| Constructor and Description |
|---|
LocalVariable(String var,
wybs.lang.Attribute... attributes) |
LocalVariable(String var,
Collection<wybs.lang.Attribute> attributes) |
| Modifier and Type | Method and Description |
|---|---|
Type |
result()
Get the type that this expression will evaluate to.
|
String |
toString() |
public Type type
public LocalVariable(String var, wybs.lang.Attribute... attributes)
public LocalVariable(String var, Collection<wybs.lang.Attribute> attributes)
public Type result()
Exprresult in interface Exprresult in class Expr.AbstractVariablepublic String toString()
toString in class Expr.AbstractVariableCopyright © 2017. All rights reserved.