dk.brics.string.intermediate
Class StringBufferBinaryOp
java.lang.Object
dk.brics.string.intermediate.Statement
dk.brics.string.intermediate.StringBufferStatement
dk.brics.string.intermediate.StringBufferOperation
dk.brics.string.intermediate.StringBufferBinaryOp
- All Implemented Interfaces:
- Comparable<Statement>
public class StringBufferBinaryOp
- extends StringBufferOperation
Performing a binary operation between a string buffer and a string.
The result is put into the string buffer.
from
public Variable from
- The string argument to the operation.
op
public BinaryOperation op
- The operation to perform.
StringBufferBinaryOp
public StringBufferBinaryOp(Variable to,
BinaryOperation op,
Variable from)
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.