public static class WyalFile.Expr.ArrayGenerator extends WyalFile.Expr.Operator
[e1;e2]" where e1 is the element
expression and e2 is the length expression.
This returns a new array whose length is determined by
e2 and where every element has contains the value
determined by e1.WyalFile.Expr.Addition, WyalFile.Expr.ArrayAccess, WyalFile.Expr.ArrayGenerator, WyalFile.Expr.ArrayInitialiser, WyalFile.Expr.ArrayLength, WyalFile.Expr.ArrayUpdate, WyalFile.Expr.Cast, WyalFile.Expr.Constant, WyalFile.Expr.Dereference, WyalFile.Expr.Division, WyalFile.Expr.Equal, WyalFile.Expr.ExistentialQuantifier, WyalFile.Expr.GreaterThan, WyalFile.Expr.GreaterThanOrEqual, WyalFile.Expr.InfixOperator, WyalFile.Expr.Invoke, WyalFile.Expr.Is, WyalFile.Expr.LessThan, WyalFile.Expr.LessThanOrEqual, WyalFile.Expr.LogicalAnd, WyalFile.Expr.LogicalIff, WyalFile.Expr.LogicalImplication, WyalFile.Expr.LogicalNot, WyalFile.Expr.LogicalOr, WyalFile.Expr.Multiplication, WyalFile.Expr.Negation, WyalFile.Expr.NotEqual, WyalFile.Expr.Operator, WyalFile.Expr.Quantifier, WyalFile.Expr.RecordAccess, WyalFile.Expr.RecordInitialiser, WyalFile.Expr.RecordUpdate, WyalFile.Expr.Remainder, WyalFile.Expr.Subtraction, WyalFile.Expr.UniversalQuantifier, WyalFile.Expr.VariableAccessWyalFile.Stmt.Block, WyalFile.Stmt.CaseOf, WyalFile.Stmt.IfThen| Constructor and Description |
|---|
ArrayGenerator(WyalFile.Expr value,
WyalFile.Expr length) |
| Modifier and Type | Method and Description |
|---|---|
WyalFile.Expr.ArrayGenerator |
clone(wybs.lang.SyntacticItem[] operands) |
WyalFile.Expr |
getLength() |
WyalFile.Expr |
getValue() |
get, getAllallocate, compareTo, equals, getAncestor, getData, getHeap, getIndex, getOpcode, getParent, hashCode, match, setOpcode, setOperand, size, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitallocate, getData, getHeap, getIndex, getOpcode, getParent, setOpcode, setOperand, sizecompareTopublic ArrayGenerator(WyalFile.Expr value, WyalFile.Expr length)
public WyalFile.Expr getValue()
public WyalFile.Expr getLength()
public WyalFile.Expr.ArrayGenerator clone(wybs.lang.SyntacticItem[] operands)
clone in interface wybs.lang.SyntacticItemclone in class WyalFile.Expr.OperatorCopyright © 2017. All rights reserved.