public class IncOperand
extends java.lang.Object
| Constructor and Description |
|---|
IncOperand(LocalVariable var,
int incr)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
incr()
Get the amount to increment by.
|
java.lang.String |
toString()
Convert the operand to a string.
|
LocalVariable |
var()
Get the local variable to increment.
|
public IncOperand(LocalVariable var, int incr)
var - The local variable to increment.incr - The amount to increment by.public LocalVariable var()
public int incr()
public java.lang.String toString()
toString in class java.lang.Object