public static class Expr.ArrayInitialiser extends wybs.lang.SyntacticElement.Impl implements Expr
ArrayInitialiser ::= '[' [ Expression (',' Expression)+ ] ']'
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<Expr> |
arguments |
Type.Array |
type |
| Constructor and Description |
|---|
ArrayInitialiser(wybs.lang.Attribute attribute,
Expr... arguments) |
ArrayInitialiser(Collection<Expr> arguments,
wybs.lang.Attribute... attributes) |
| Modifier and Type | Method and Description |
|---|---|
Type.Array |
result()
Get the type that this expression will evaluate to.
|
public Type.Array type
public ArrayInitialiser(Collection<Expr> arguments, wybs.lang.Attribute... attributes)
public ArrayInitialiser(wybs.lang.Attribute attribute,
Expr... arguments)
public Type.Array result()
ExprCopyright © 2017. All rights reserved.