dk.brics.string.intermediate
Class StringConcat

java.lang.Object
  extended by dk.brics.string.intermediate.Statement
      extended by dk.brics.string.intermediate.StringStatement
          extended by dk.brics.string.intermediate.StringConcat
All Implemented Interfaces:
Comparable<Statement>

public class StringConcat
extends StringStatement

Concatenation of two strings.


Field Summary
 Variable left
          The left-hand string.
 Variable right
          The right-hand string.
 
Fields inherited from class dk.brics.string.intermediate.StringStatement
to
 
Constructor Summary
StringConcat(Variable to, Variable left, Variable right)
           
 
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

left

public Variable left
The left-hand string.


right

public Variable right
The right-hand string.

Constructor Detail

StringConcat

public StringConcat(Variable to,
                    Variable left,
                    Variable right)
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.