Trees | Index | Help |
|
---|
Package ast :: Module StrReprVisitor :: Class StrReprVisitor |
|
ASTVisitor
--+
|
StrReprVisitor
Method Summary | |
---|---|
__init__(self)
| |
string |
return the constructed string representation |
__cellRefStr(self,
cellRef)
| |
__functionStr(self,
function)
| |
__numberStr(self,
number)
| |
__rangeRefStr(self,
rangeRef)
| |
Visitors | |
Creates the string representation of a RangeRef (e.g., A1:A10) | |
Creates the string representation of a Number (simply its value) | |
Creates the string representation of a function (e.g., min(4,5)) | |
Creates the string representation of a CellRef (e.g., A5, $A5, $A$5) |
Method Details |
---|
visitCellRef(self, cellRef)Creates the string representation of a CellRef (e.g., A5, $A5, $A$5)
|
visitFunction(self, function)Creates the string representation of a function (e.g., min(4,5))
|
visitNumber(self, number)Creates the string representation of a Number (simply its value)
|
visitRangeRef(self, rangeRef)Creates the string representation of a RangeRef (e.g., A1:A10)
|
getStrRepr(self)return the constructed string representation
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Aug 17 18:20:06 2004 | http://epydoc.sf.net |