scale.clef.expr
Class PositionFieldOp

java.lang.Object
  extended by scale.clef.expr.PositionOp
      extended by scale.clef.expr.PositionFieldOp

public class PositionFieldOp
extends PositionOp

The PositionFieldOp class represents a position in an aggregation by specifying the struct field to be initialized.

$Id: PositionFieldOp.java,v 1.1 2005-03-14 22:28:56 burrill Exp $

Copyright 2005 by the Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.


Constructor Summary
PositionFieldOp(FieldDecl field)
           
 
Method Summary
 boolean equivalent(java.lang.Object exp)
          Return true if the two expressions are equivalent.
 FieldDecl getField()
          Return the field.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PositionFieldOp

public PositionFieldOp(FieldDecl field)
Method Detail

getField

public final FieldDecl getField()
Return the field.


equivalent

public boolean equivalent(java.lang.Object exp)
Return true if the two expressions are equivalent.

Overrides:
equivalent in class PositionOp

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object