Logo Search packages:      
Sourcecode: calibre version File versions

calibre::utils::genshi::template::eval::ASTTransformer Class Reference

Inheritance diagram for calibre::utils::genshi::template::eval::ASTTransformer:

calibre::utils::genshi::template::eval::TemplateASTTransformer calibre::utils::genshi::template::eval::ExpressionASTTransformer

List of all members.

Detailed Description

General purpose base class for AST transformations.

Every visitor method can be overridden to return an AST node that has been
altered or replaced in some way.

Definition at line 469 of file eval.py.

Public Member Functions

def visit
def visitAssAttr
def visitAssert
def visitAssign
def visitAugAssign
def visitCallFunc
def visitClass
def visitCompare
def visitDecorators
def visitDict
def visitExec
def visitExpression
def visitFor
def visitFrom
def visitFunction
def visitGenExpr
def visitGenExprFor
def visitGenExprIf
def visitGenExprInner
def visitGetattr
def visitIf
def visitIfExp
def visitKeyword
def visitLambda
def visitList
def visitListComp
def visitListCompFor
def visitListCompIf
def visitModule
def visitRaise
def visitReturn
def visitSlice
def visitSliceobj
def visitStmt
def visitSubscript
def visitTryExcept
def visitTryFinally
def visitTuple
def visitWhile
def visitWith
def visitYield

Static Public Attributes

 visitAdd = visitSub_visitBinOp
 visitAnd = visitOrvisitBitandvisitBitorvisitBitxor_visitBoolOp
 visitAssTuple = visitAssList_visitBoolOp
 visitBackquote = visitDiscard_visitUnaryOp
 visitDiv = visitFloorDivvisitModvisitMulvisitPower_visitBinOp
 visitLeftShift = visitRightShift_visitBinOp
 visitPrint = visitPrintnl_visitPrint
 visitUnaryAdd = visitUnarySubvisitNotvisitInvert_visitUnaryOp

Private Member Functions

def _clone
def _visitBinOp
def _visitBoolOp
def _visitDefault
def _visitPrint
def _visitUnaryOp

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index