Trees | Index | Help |
|
---|
Package ast :: Module RangeRef :: Class RangeRef |
|
ASTNode
--+
|
RangeRef
Method Summary | |
---|---|
RangeRef's constructor | |
Method used in the visitor pattern. | |
RangeRef
|
Returns a copy of this object |
Returns true if this object equals another object | |
Accessors | |
Sets the second corner of the range | |
Sets the first corner of the range | |
CellRef
|
Returns the second corner of the range |
CellRef
|
Returns the first corner of the range |
list of CellRef
|
Returns a list of the CellRef in the rectangle created by cornerA and cornerB. |
Inherited from ASTNode | |
string |
String representation of the complete AST (common to every child) |
Method Details |
---|
setFirstCorner(self, cornerA)Sets the first corner of the range
|
setSecondCorner(self, cornerB)Sets the second corner of the range
|
getCellRefSet(self)Returns a list of the CellRef in the rectangle created by cornerA and cornerB. The cells are always returned starting from the top-left cell, down to the bottom-right cell.
|
getFirstCorner(self)Returns the first corner of the range
|
getSecondCorner(self)Returns the second corner of the range
|
__init__(self,
cornerA,
cornerB)
RangeRef's constructor
|
accept(self, visitor)Method used in the visitor pattern. Calls the appropriate action to perform while visiting this object.
|
clone(self)Returns a copy of this object
|
equals(self, anObject)Returns true if this object equals another object
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Aug 17 18:20:07 2004 | http://epydoc.sf.net |