dk.brics.string.intermediate
Class Hotspot

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

public class Hotspot
extends Statement

The variable should be evaluated as a hotspot here.


Field Summary
 Variable from
          A variable containing the value of a hotspot expression.
 Variable to
          An auxillary variable being assigned to.
 
Constructor Summary
Hotspot(Variable to, Variable from)
          Create a hotspot that evaluates the specified variable here.
 
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

from

public Variable from
A variable containing the value of a hotspot expression.


to

public Variable to
An auxillary variable being assigned to.

Constructor Detail

Hotspot

public Hotspot(Variable to,
               Variable from)
Create a hotspot that evaluates the specified variable here.

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.