public abstract static class WyalFile.Expr.Operator extends AbstractSyntacticItem implements WyalFile.Expr
arr[i+1] the
expression i+1 is an operator expression.AbstractSyntacticItem.Blocks, AbstractSyntacticItem.Extras, AbstractSyntacticItem.Operands, AbstractSyntacticItem.SchemaWyalFile.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.IfThendata| Constructor and Description |
|---|
Operator(WyalFile.Opcode opcode,
WyalFile.Expr... operands) |
| Modifier and Type | Method and Description |
|---|---|
abstract WyalFile.Expr |
clone(SyntacticItem[] operands)
Create a new copy of the given syntactic item with the given operands.
|
WyalFile.Expr |
getOperand(int i)
Return the ith top-level operand in this bytecode.
|
WyalFile.Expr[] |
getOperands()
Return the top-level operands in this bytecode.
|
allocate, compareTo, equals, getData, getIndex, getOpcode, getParent, hashCode, setOpcode, setOperand, size, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitallocate, getData, getIndex, getOpcode, getParent, setOpcode, setOperand, sizecompareTopublic Operator(WyalFile.Opcode opcode, WyalFile.Expr... operands)
public WyalFile.Expr getOperand(int i)
SyntacticItemgetOperand in interface SyntacticItemgetOperand in class AbstractSyntacticItempublic WyalFile.Expr[] getOperands()
SyntacticItemgetOperands in interface SyntacticItemgetOperands in class AbstractSyntacticItempublic abstract WyalFile.Expr clone(SyntacticItem[] operands)
SyntacticItemsize() for this item, and
be of appropriate type.clone in interface SyntacticItemCopyright © 2017. All rights reserved.