/usr/lib64/python2.6/site-packages/jinja2
NameSizeModeActions
bccache.py112940644editdlrm
bccache.pyc134770644editdlrm
bccache.pyo134770644editdlrm
compiler.py559230644editdlrm
compiler.pyc509150644editdlrm
compiler.pyo508450644editdlrm
constants.py62290644editdlrm
constants.pyc76970644editdlrm
constants.pyo76970644editdlrm
debug.py99270644editdlrm
debug.pyc101660644editdlrm
debug.pyo100940644editdlrm
defaults.py10500644editdlrm
defaults.pyc16140644editdlrm
defaults.pyo16140644editdlrm
environment.py346510644editdlrm
environment.pyc345220644editdlrm
environment.pyo341030644editdlrm
exceptions.py30730644editdlrm
exceptions.pyc47210644editdlrm
exceptions.pyo47210644editdlrm
ext.py181070644editdlrm
ext.pyc176810644editdlrm
ext.pyo176140644editdlrm
filters.py218060644editdlrm
filters.pyc247740644editdlrm
filters.pyo247740644editdlrm
lexer.py246640644editdlrm
lexer.pyc205660644editdlrm
lexer.pyo203970644editdlrm
loaders.py115070644editdlrm
loaders.pyc132180644editdlrm
loaders.pyo132180644editdlrm
meta.py28460644editdlrm
meta.pyc36670644editdlrm
meta.pyo36670644editdlrm
nodes.py234640644editdlrm
nodes.pyc381880644editdlrm
nodes.pyo376930644editdlrm
optimizer.py23020644editdlrm
optimizer.pyc28730644editdlrm
optimizer.pyo28730644editdlrm
parser.py306760644editdlrm
parser.pyc288520644editdlrm
parser.pyo288520644editdlrm
runtime.py176050644editdlrm
runtime.pyc214470644editdlrm
runtime.pyo214110644editdlrm
sandbox.py92600644editdlrm
sandbox.pyc97180644editdlrm
sandbox.pyo97180644editdlrm
tests.py32660644editdlrm
tests.pyc49220644editdlrm
tests.pyo49220644editdlrm
utils.py248940644editdlrm
utils.pyc315080644editdlrm
utils.pyo315080644editdlrm
visitor.py33160644editdlrm
visitor.pyc38500644editdlrm
visitor.pyo38500644editdlrm
_ipysupport.py9490644editdlrm
_ipysupport.pyc17760644editdlrm
_ipysupport.pyo17760644editdlrm
_speedups.so82320755editdlrm
_stringdefs.py4042560644editdlrm
_stringdefs.pyc2085250644editdlrm
_stringdefs.pyo2085250644editdlrm
__init__.py21950644editdlrm
__init__.pyc23960644editdlrm
__init__.pyo23960644editdlrm
Edit: /usr/lib64/python2.6/site-packages/jinja2/visitor.pyc (3850B)
Ńņ wø`Ic@sFdZddklZdefd„ƒYZdefd„ƒYZdS(sœ jinja2.visitor ~~~~~~~~~~~~~~ This module implements a visitor for the nodes. :copyright: (c) 2009 by the Jinja Team. :license: BSD. i’’’’(tNodet NodeVisitorcBs)eZdZd„Zd„Zd„ZRS(sWalks the abstract syntax tree and call visitor functions for every node found. The visitor functions may return values which will be forwarded by the `visit` method. Per default the visitor functions for the nodes are ``'visit_'`` + class name of the node. So a `TryFinally` node visit function would be `visit_TryFinally`. This behavior can be changed by overriding the `get_visitor` function. If no visitor function exists for a node (return value `None`) the `generic_visit` visitor is used instead. cCs d|ii}t||dƒS(sŖReturn the visitor function for this node or `None` if no visitor exists for this node. In that case the generic visit function is used instead. tvisit_N(t __class__t__name__tgetattrtNone(tselftnodetmethod((s4/usr/lib64/python2.6/site-packages/jinja2/visitor.pyt get_visitorscOs@|i|ƒ}|dj o||||ŽS|i|||ŽS(s Visit a node.N(R Rt generic_visit(RRtargstkwargstf((s4/usr/lib64/python2.6/site-packages/jinja2/visitor.pytvisit"s cOs.x'|iƒD]}|i|||Žq WdS(s9Called if no explicit visitor function exists for a node.N(titer_child_nodesR(RRR R ((s4/usr/lib64/python2.6/site-packages/jinja2/visitor.pyR )s (Rt __module__t__doc__R RR (((s4/usr/lib64/python2.6/site-packages/jinja2/visitor.pyRs   tNodeTransformercBs eZdZd„Zd„ZRS(sĖWalks the abstract syntax tree and allows modifications of nodes. The `NodeTransformer` will walk the AST and use the return value of the visitor functions to replace or remove the old node. If the return value of the visitor function is `None` the node will be removed from the previous location otherwise it's replaced with the return value. The return value may be the original node in which case no replacement takes place. c Osx|iƒD]\}}t|tƒog}x||D]t}t|tƒoQ|i|||Ž}|djoq6qt|tƒp|i|ƒq6qn|i|ƒq6W||(q t|tƒoG|i|||Ž}|djot||ƒqt |||ƒq q W|S(N( t iter_fieldst isinstancetlistRRRtextendtappendtdelattrtsetattr( RRR R tfieldt old_valuet new_valuestvaluetnew_node((s4/usr/lib64/python2.6/site-packages/jinja2/visitor.pyR :s*      cOs6|i|||Ž}t|tƒp |g}n|S(s{As transformers may return lists in some places this method can be used to enforce a list as return value. (RRR(RRR R trv((s4/usr/lib64/python2.6/site-packages/jinja2/visitor.pyt visit_listPs (RRRR R!(((s4/usr/lib64/python2.6/site-packages/jinja2/visitor.pyR/s  N(Rt jinja2.nodesRtobjectRR(((s4/usr/lib64/python2.6/site-packages/jinja2/visitor.pyt s!