dk.brics.string.intermediate
Class AssertUnaryOp
java.lang.Object
dk.brics.string.intermediate.Statement
dk.brics.string.intermediate.AssertStatement
dk.brics.string.intermediate.AssertUnaryOp
- All Implemented Interfaces:
- Comparable<Statement>
public class AssertUnaryOp
- extends AssertStatement
Performs two binary operation opA(a,b),opB(b,a).
The result of opA is then put in a, and the result of opB into b.
The output from either operation does not directly affect the input to the other.
- Author:
- Asger
op
public UnaryOperation op
to
public Variable to
AssertUnaryOp
public AssertUnaryOp(Statement targetStatement,
Variable to,
UnaryOperation op)
visitBy
public void visitBy(StatementVisitor v)
- Description copied from class:
Statement
- Visit this statement by the given statement visitor.
This will invoke the corresponding method in the visitor.
- Specified by:
visitBy
in class Statement
- Parameters:
v
- the visitor.
Copyright © 2003-2009 Anders Møller, Aske Simon Christensen, Asger Feldthaus.