dk.brics.string.intermediate
Class StringBufferUnaryOp

java.lang.Object
  extended by dk.brics.string.intermediate.Statement
      extended by dk.brics.string.intermediate.StringBufferStatement
          extended by dk.brics.string.intermediate.StringBufferOperation
              extended by dk.brics.string.intermediate.StringBufferUnaryOp
All Implemented Interfaces:
Comparable<Statement>

public class StringBufferUnaryOp
extends StringBufferOperation

Performing a unary operation on a string buffer. The result is put into the string buffer.


Field Summary
 UnaryOperation op
          The operation to perform.
 
Fields inherited from class dk.brics.string.intermediate.StringBufferStatement
to
 
Constructor Summary
StringBufferUnaryOp(Variable to, UnaryOperation op)
           
 
Method Summary
 void visitBy(StatementVisitor v)
          Visit this statement by the given statement visitor.
 
Methods inherited from class dk.brics.string.intermediate.Statement
addSucc, addSuccIfAbsent, compareTo, getIndex, getMethod, getPreds, getSuccs, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

op

public UnaryOperation op
The operation to perform.

Constructor Detail

StringBufferUnaryOp

public StringBufferUnaryOp(Variable to,
                           UnaryOperation op)
Method Detail

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.