Class StringBufferInit

  extended by dk.brics.string.intermediate.Statement
      extended by dk.brics.string.intermediate.StringBufferStatement
          extended by dk.brics.string.intermediate.StringBufferInit
All Implemented Interfaces:

public class StringBufferInit
extends StringBufferStatement

Creation of a new string buffer object with some initial string content. The new string buffer is assigned to the to variable.

Field Summary
 Variable from
          The string forming the initial content.
Fields inherited from class dk.brics.string.intermediate.StringBufferStatement
Constructor Summary
StringBufferInit(Variable to, Variable from)
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


public Variable from
The string forming the initial content.

Constructor Detail


public StringBufferInit(Variable to,
                        Variable from)
Method Detail


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
v - the visitor.

Copyright © 2003-2009 Anders Møller, Aske Simon Christensen, Asger Feldthaus.