net.sf.bddbddb.ir.dynamic
Class Nop

java.lang.Object
  extended by net.sf.bddbddb.ir.Operation
      extended by net.sf.bddbddb.ir.dynamic.DynamicOperation
          extended by net.sf.bddbddb.ir.dynamic.Nop
All Implemented Interfaces:
IterationElement

public class Nop
extends DynamicOperation

No operation.

Version:
$Id: Nop.java 328 2004-10-16 02:45:30Z joewhaley $
Author:
John Whaley

Field Summary
 
Fields inherited from class net.sf.bddbddb.ir.Operation
id, TRACE_VERBOSE
 
Constructor Summary
Nop()
           
 
Method Summary
 Operation copy()
           
 java.lang.String getExpressionString()
           
 Relation getRelationDest()
           
 java.util.List getSrcs()
           
 void replaceSrc(Relation r_old, Relation r_new)
           
 void setRelationDest(Relation dest)
           
 java.lang.String toString()
           
 java.lang.Object visit(DynamicOperationVisitor i)
           
 
Methods inherited from class net.sf.bddbddb.ir.dynamic.DynamicOperation
visit
 
Methods inherited from class net.sf.bddbddb.ir.Operation
getNumberOfOperations, getRenames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Nop

public Nop()
Method Detail

visit

public java.lang.Object visit(DynamicOperationVisitor i)
Specified by:
visit in class DynamicOperation
Parameters:
i - the visitor
Returns:
the result from the visitor

toString

public java.lang.String toString()
Specified by:
toString in class Operation

getRelationDest

public Relation getRelationDest()
Specified by:
getRelationDest in class Operation
Returns:
the destination relation of this operation, or null

getSrcs

public java.util.List getSrcs()
Specified by:
getSrcs in class Operation
Returns:
the source relation of this operation

getExpressionString

public java.lang.String getExpressionString()
Specified by:
getExpressionString in class Operation
Returns:
the expression in string form

setRelationDest

public void setRelationDest(Relation dest)
Specified by:
setRelationDest in class Operation

copy

public Operation copy()
Specified by:
copy in class Operation

replaceSrc

public void replaceSrc(Relation r_old,
                       Relation r_new)
Specified by:
replaceSrc in class Operation


Copyright © 2004-2008 Stanford SUIF Compiler Group. All Rights Reserved.