Package subjectdata :: Module CopyPasteVisitor :: Class CopyPasteVisitor
[show private | hide private]
[frames | no frames]

Class CopyPasteVisitor

ASTVisitor --+
             |
            CopyPasteVisitor


Class that visits the AST to update relative cell references.
Method Summary
  __init__(self, sourceCol, sourceRow, destCol, destRow)
  visitCellRef(self, cellRef)
Visits a CellRef object
  visitFunction(self, function)
Visits a Function object
  visitRangeRef(self, rangeRef)
Visits a RangeRef object
    Inherited from ASTVisitor
  visitNumber(self, number)
Visits a Number object

Method Details

visitCellRef(self, cellRef)

Visits a CellRef object
Parameters:
cellRef - The object which is visited
           (type=CellRef)
Overrides:
ast.ASTVisitor.ASTVisitor.visitCellRef (inherited documentation)

visitFunction(self, function)

Visits a Function object
Parameters:
function - The object which is visited
           (type=Function)
Overrides:
ast.ASTVisitor.ASTVisitor.visitFunction (inherited documentation)

visitRangeRef(self, rangeRef)

Visits a RangeRef object
Parameters:
rangeRef - The object which is visited
           (type=RangeRef)
Overrides:
ast.ASTVisitor.ASTVisitor.visitRangeRef (inherited documentation)

Generated by Epydoc 2.1 on Tue Aug 17 18:20:07 2004 http://epydoc.sf.net