public class FD extends Instruction
Modifier and Type | Field and Description |
---|---|
private Expression |
FDExpression |
gelementsToValue
Constructor and Description |
---|
FD(Expression e)
Constructs a FD instruction that can be executed.
|
private Expression FDExpression
public FD(Expression e)
e
- number of steps to move forwardpublic java.lang.Object evaluate(Context c)
evaluate
in class Instruction
c
- the Context for the evaluationpublic java.lang.String toString()
toString
in class java.lang.Object