public static class Expr.AbstractFunctionOrMethod extends wybs.lang.SyntacticElement.Impl implements Expr
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 |
|---|---|
ArrayList<String> |
lifetimeParameters |
String |
name |
ArrayList<wyal.lang.WyalFile.Type> |
paramTypes |
Type.FunctionOrMethod |
type |
| Constructor and Description |
|---|
AbstractFunctionOrMethod(String name,
Collection<wyal.lang.WyalFile.Type> paramTypes,
Collection<String> lifetimeParameters,
wybs.lang.Attribute... attributes) |
AbstractFunctionOrMethod(String name,
Collection<wyal.lang.WyalFile.Type> paramTypes,
Collection<String> lifetimeParameters,
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 String name
public final ArrayList<wyal.lang.WyalFile.Type> paramTypes
public Type.FunctionOrMethod type
public AbstractFunctionOrMethod(String name, Collection<wyal.lang.WyalFile.Type> paramTypes, Collection<String> lifetimeParameters, wybs.lang.Attribute... attributes)
public AbstractFunctionOrMethod(String name, Collection<wyal.lang.WyalFile.Type> paramTypes, Collection<String> lifetimeParameters, Collection<wybs.lang.Attribute> attributes)
public Type.FunctionOrMethod result()
ExprCopyright © 2017. All rights reserved.