L]c @sUdZddlZddlmZddlmZddlmZmZm Z m Z m Z m Z e e fZ iejd6ejd6ejd6ejd 6ejd 6ejd 6ejd 6Ziejd 6ejd 6ejd 6Ziejd6ejd6ejd6ejd6ejd6ejd6dd6dd6Z de!fdYZ"de#fdYZ$de%fdYZ&dZ'de e$e%fd YZ(d!e(fd"YZ)d#e(fd$YZ*d%e(fd&YZ+d'e)fd(YZ,d)e)fd*YZ-d+e)fd,YZ.d-e)fd.YZ/d/e)fd0YZ0d1e)fd2YZ1d3e)fd4YZ2d5e)fd6YZ3d7e)fd8YZ4d9e)fd:YZ5d;e)fd<YZ6d=e)fd>YZ7d?e)fd@YZ8dAe(fdBYZ9dCe9fdDYZ:dEe9fdFYZ;dGe9fdHYZ<dIe9fdJYZ=dKe=fdLYZ>dMe=fdNYZ?dOe=fdPYZ@dQe=fdRYZAdSe=fdTYZBdUe*fdVYZCdWe*fdXYZDdYe9fdZYZEd[e9fd\YZFd]e9fd^YZGd_e9fd`YZHdae9fdbYZIdce9fddYZJdee9fdfYZKdge9fdhYZLdie9fdjYZMdke*fdlYZNeNjdmdnjOePdoeQeeQeBeQe BD7_dpe:fdqYZRdre:fdsYZSdte:fduYZTdve:fdwYZUdxe:fdyYZVdze:fd{YZWd|e:fd}YZXd~e:fdYZYde:fdYZZde;fdYZ[de;fdYZ\de;fdYZ]de9fdYZ^de9fdYZ_de9fdYZ`de9fdYZade9fdYZbde9fdYZcde9fdYZdde)fdYZede)fdYZfde)fdYZgde)fdYZhdehfdYZidZjekeje$_l[jdS(s} jinja2.nodes ~~~~~~~~~~~~ This module implements additional nodes derived from the ast base node. It also provides some node tree helper functions like `in_lineno` and `get_nodes` used by the parser and translator in order to normalize python and jinja nodes. :copyright: (c) 2010 by the Jinja Team. :license: BSD, see LICENSE for more details. iN(tdeque(tMarkup(tnexttiziptwith_metaclasst text_typet method_typet function_typet*t/s//s**t%t+t-tnotteqtnetgttgteqtlttlteqcCs ||kS(N((tatb((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyt2stincCs ||kS(N((RR((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR3stnotint ImpossiblecBseZdZRS(s8Raised if the node could not perform a requested action.(t__name__t __module__t__doc__(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR7stNodeTypecBseZdZdZRS(sA metaclass for nodes that handles the field and attribute inheritance. fields and attributes from the parent class are automatically forwarded to the child.cCsxdD]}g}|jt|d|d |j|j|d t|dksgtdt|tt|kstdt|||s(RKRtjoinR(R7((R7s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyt__repr__s ((slinenos environmentN(RRRRRtTrueR R9RARSRYR]RZRaR)RcRdRfRgtobjectt__hash__Rj(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRFks       tStmtcBseZdZeZRS(sBase node for all statements.(RRRRkR (((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRnstHelpercBseZdZeZRS(s,Nodes that exist in a specific context only.(RRRRkR (((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRostTemplatecBseZdZdZRS(sjNode that represents a template. This must be the outermost node that is passed to the compiler. tbody(Rq(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRpstOutputcBseZdZdZRS(sA node that holds multiple expressions which are then printed out. This is used both for the `print` statement and the regular template data. tnodes(snodes(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRrstExtendscBseZdZdZRS(s Represents an extends statement.ttemplate(stemplate(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRtstForcBseZdZdZRS(sxThe for loop. `target` is the target for the iteration (usually a :class:`Name` or :class:`Tuple`), `iter` the iterable. `body` is a list of nodes that are used as loop-body, and `else_` a list of nodes for the `else` block. If no else node exists it has to be an empty list. For filtered nodes an expression can be stored as `test`, otherwise `None`. ttargetRNRqtelse_ttestt recursive(RwsitersbodyRxstestRz(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRvstIfcBseZdZdZRS(s4If `test` is true, `body` is rendered, else `else_`.RyRqRx(stestsbodyselse_(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR{stMacrocBseZdZdZRS(sA macro definition. `name` is the name of the macro, `args` a list of arguments and `defaults` a list of defaults if there are any. `body` is a list of nodes for the macro body. R-targstdefaultsRq(snamesargsR~sbody(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR|#st CallBlockcBseZdZdZRS(sLike a macro without a name but a call instead. `call` is called with the unnamed macro as `caller` argument this node holds. tcallR}R~Rq(scallsargssdefaultssbody(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR+st FilterBlockcBseZdZdZRS(sNode for filter sections.Rqtfilter(sbodysfilter(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR2stBlockcBseZdZdZRS(sA node that represents a block.R-Rqtscoped(snamesbodyR(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR7stIncludecBseZdZdZRS(s'A node that represents the include tag.Rut with_contexttignore_missing(stemplateRR(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR<stImportcBseZdZdZRS(s&A node that represents the import tag.RuRwR(stemplatestargets with_context(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRAst FromImportcBseZdZdZRS(sA node that represents the from import tag. It's important to not pass unsafe names to the name attribute. The compiler translates the attribute lookups directly into getattr calls and does *not* use the subscript callback of the interface. As exported variables may not start with double underscores (which the parser asserts) this is not a problem for regular Jinja code, but if this node is used in an extension extra care must be taken. The list of names may contain tuples if aliases are wanted. RutnamesR(stemplatesnamess with_context(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRFs tExprStmtcBseZdZdZRS(sAA statement that evaluates an expression and discards the result.RC(snode(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRTstAssigncBseZdZdZRS(s"Assigns an expression to a target.RwRC(stargetsnode(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRYstExprcBs)eZdZeZddZdZRS(sBaseclass for all expressions.cCs tdS(snReturn the value of the expression as constant or raise :exc:`Impossible` if this was not possible. An :class:`EvalContext` can be provided, if none is given a default context is created which requires the nodes to have an attached environment. .. versionchanged:: 2.4 the `eval_ctx` parameter was added. N(R(R7teval_ctx((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pytas_constbs cCstS(s8Check if it's possible to assign something to this node.(R)(R7((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyt can_assignosN(RRRRkR RARR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR^s tBinExprcBs,eZdZdZdZeZddZRS(s%Baseclass for all binary expressions.tlefttrightcCst||}|jjr<|j|jjkr<tnt|j}y)||jj||j j|SWnt k rtnXdS(N( RER3t sandboxedtoperatortintercepted_binopsRt_binop_to_funcRRRt Exception(R7Rtf((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRzs   ) (sleftsrightN( RRRRRARRkR R(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRts t UnaryExprcBs,eZdZdZdZeZddZRS(s$Baseclass for all unary expressions.RCcCst||}|jjr<|j|jjkr<tnt|j}y||jj|SWnt k rtnXdS(N( RER3RRtintercepted_unopsRt _uaop_to_funcRCRR(R7RR((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRs    (snodeN( RRRRRARRkR R(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRs tNamecBseZdZdZdZRS(s Looks up a name or stores a value in a name. The `ctx` of the node can be one of the following values: - `store`: store a value in the name - `load`: load that name - `param`: like `store` but if the name was defined as function parameter. R-RDcCs |jdkS(NttruetfalsetnoneRkR)RA(RRRsTruesFalsesNone(R-(R7((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRs(snamesctx(RRRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstLiteralcBseZdZeZRS(sBaseclass for literals.(RRRRkR (((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstConstcBs5eZdZdZddZedddZRS(sAll constant values. The parser will return this node for simple constants such as ``42`` or ``"foo"`` but it can be used to store more complex values such as lists too. Only constants with a safe representation (objects where ``eval(repr(x)) == x`` is true). tvaluecCs|jS(N(R(R7R((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRscCs>ddlm}||s(tn||d|d|S(sReturn a const object if the value is representable as constant value in the generated code, otherwise it will raise an `Impossible` exception. i(t has_safe_reprRGR3(tcompilerRR(R,RRGR3R((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pytfrom_untrusteds  (svalueN(RRRRRARt classmethodR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRs  t TemplateDatacBs eZdZdZddZRS(sA constant template string.tdatacCsAt||}|jr$tn|jr:t|jS|jS(N(RER6RR5RR(R7R((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRs     (sdataN(RRRRRAR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstTuplecBs)eZdZdZddZdZRS(sFor loop unpacking and some other things like multiple arguments for subscripts. Like for :class:`Name` `ctx` specifies if the tuple is used for loading the names or storing. titemsRDcs,t|tfd|jDS(Nc3s|]}|jVqdS(N(R(Rhtx(R(s0/usr/lib/python2.7/site-packages/jinja2/nodes.pys s(RER'R(R7R((Rs0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRscCs(x!|jD]}|js tSq WtS(N(RRR)Rk(R7RW((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRs (sitemssctxN(RRRRRARR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRs tListcBs eZdZdZddZRS(s&Any list literal such as ``[1, 2, 3]``RcCs2t||}g|jD]}|j|^qS(N(RERR(R7RR((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRs(sitemsN(RRRRRAR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstDictcBs eZdZdZddZRS(seAny dict literal such as ``{1: 2, 3: 4}``. The items must be a list of :class:`Pair` nodes. Rcs,t|tfd|jDS(Nc3s|]}|jVqdS(N(R(RhR(R(s0/usr/lib/python2.7/site-packages/jinja2/nodes.pys s(REtdictR(R7R((Rs0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRs(sitemsN(RRRRRAR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstPaircBs eZdZdZddZRS(sA key, value pair for dicts.tkeyRcCs1t||}|jj||jj|fS(N(RERRR(R7R((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRs(skeysvalueN(RRRRRAR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstKeywordcBs eZdZdZddZRS(s>A key, value pair for keyword arguments where key is a string.RRcCs(t||}|j|jj|fS(N(RERRR(R7R((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRs(skeysvalueN(RRRRRAR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstCondExprcBs eZdZdZddZRS(sZA conditional expression (inline if expression). (``{{ foo if bar else baz }}``) Rytexpr1texpr2cCs\t||}|jj|r1|jj|S|jdkrLtn|jj|S(N(RERyRRRRAR(R7R((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRs  (stestsexpr1sexpr2N(RRRRRAR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR stFiltercBs eZdZdZd dZRS( sThis node applies a filter on an expression. `name` is the name of the filter, the rest of the fields are the same as for :class:`Call`. If the `node` of a filter is `None` the contents of the last buffer are filtered. Buffers are created by macros and filter blocks. RCR-R}tkwargstdyn_argst dyn_kwargscst|js'|jdkr3tn|jjj|j}|dksit |dt rutn|jj }g|j D]}|j ^q}t |dt r|j dn(t |dt r|j d|jntfd|jD}|jdk rdy|j|jj Wqdtk r`tqdXn|jdk ry|j|jj Wqtk rtqXny||||SWntk rtnXdS(Nt contextfiltertevalcontextfilteritenvironmentfilterc3s|]}|jVqdS(N(R(RhR(R(s0/usr/lib/python2.7/site-packages/jinja2/nodes.pys 7s(RER6RCRARR3tfiltersR#R-R"R)RR}tinsertRRRR!RRR>(R7Rtfilter_tobjRR}R((Rs0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR%s6  %   (snodesnamesargsskwargssdyn_argss dyn_kwargsN(RRRRRAR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstTestcBseZdZdZRS(sApplies a test on an expression. `name` is the name of the test, the rest of the fields are the same as for :class:`Call`. RCR-R}RRR(snodesnamesargsskwargssdyn_argss dyn_kwargs(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRHstCallcBs eZdZdZddZRS( s/Calls an expression. `args` is a list of arguments, `kwargs` a list of keyword arguments (list of :class:`Keyword` nodes), and `dyn_args` and `dyn_kwargs` has to be either `None` or a node that is used as node for dynamic positional (``*args``) or keyword (``**kwargs``) arguments. RCR}RRRcst|js$jjr0tn|jj}g|jD]}|j^qL}t|t rt |dt rtqt |dt r|j dqt |dt r|j d|jqnt fd|jD}|jdk rOy|j|jjWqOtk rKtqOXn|jdk ry|j|jjWqtk rtqXny|||SWntk rtnXdS(Ntcontextfunctiontevalcontextfunctionitenvironmentfunctionc3s|]}|jVqdS(N(R(RhR(R(s0/usr/lib/python2.7/site-packages/jinja2/nodes.pys hs(RER6R3RRRCRR}RTt_context_function_typesR"R)RRRRRAR!RRR>(R7RRRR}R((Rs0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRXs6 %    (snodesargsskwargssdyn_argss dyn_kwargsN(RRRRRAR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyROstGetitemcBs)eZdZdZddZdZRS(s@Get an attribute or item from an expression and prefer the item.RCRORDcCszt||}|jdkr*tny/|jj|jj||jj|SWntk rutnXdS(Ntload( RERDRR3tgetitemRCRROR(R7R((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR}s  cCstS(N(R)(R7((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRs(snodesargsctxN(RRRRRARR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRys tGetattrcBs)eZdZdZddZdZRS(snGet an attribute or item from an expression that is a ascii-only bytestring and prefer the attribute. RCR0RDcCsq|jdkrtny5t||}|jj|jj||jSWntk rltnXdS(NR( RDRRER3R"RCRR0R(R7R((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRs  cCstS(N(R)(R7((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRs(snodesattrsctxN(RRRRRARR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRs tSlicecBs eZdZdZddZRS(s_Represents a slice object. This must only be used as argument for :class:`Subscript`. tstarttstoptstepcsIt|fd}t||j||j||jS(Ncs|dkrdS|jS(N(RAR(R(R(s0/usr/lib/python2.7/site-packages/jinja2/nodes.pytconsts (REtsliceRRR(R7RR((Rs0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRs(sstartsstopsstepN(RRRRRAR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstConcatcBs eZdZdZddZRS(sXConcatenates the list of expressions provided after converting them to unicode. Rscs/t|djfd|jDS(NRIc3s$|]}t|jVqdS(N(RR(RhR(R(s0/usr/lib/python2.7/site-packages/jinja2/nodes.pys s(RERiRs(R7R((Rs0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRs(snodesN(RRRRRAR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstComparecBs eZdZdZddZRS(siCompares an expression with some other expressions. `ops` must be a list of :class:`Operand`\s. texprtopscCst||}|jj|}}yFx?|jD]4}|jj|}t|j||}|}q2WWntk rtnX|S(N(RERRRt_cmpop_to_functopRR(R7RR\RRt new_value((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRs  (sexprsopsN(RRRRRAR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstOperandcBseZdZdZRS(s$Holds an operator and an expression.RR(sopsexpr(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRss( The following operators are available: s, ccs|]}d|VqdS(s``%s``N((RhR((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pys stMulcBseZdZdZRS(s(Multiplies the left with the right node.R(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstDivcBseZdZdZRS(s#Divides the left by the right node.R (RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstFloorDivcBseZdZdZRS(sjDivides the left by the right node and truncates conver the result into an integer by truncating. s//(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstAddcBseZdZdZRS(sAdd the left to the right node.R (RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstSubcBseZdZdZRS(s'Substract the right from the left node.R (RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstModcBseZdZdZRS(sLeft modulo right.R (RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstPowcBseZdZdZRS(sLeft to the power of right.s**(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstAndcBs eZdZdZddZRS(sShort circuited AND.tandcCs1t||}|jj|o0|jj|S(N(RERRR(R7R((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRsN(RRRRRAR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstOrcBs eZdZdZddZRS(sShort circuited OR.torcCs1t||}|jj|p0|jj|S(N(RERRR(R7R((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRsN(RRRRRAR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstNotcBseZdZdZRS(sNegate the expression.R (RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR stNegcBseZdZdZRS(sMake the expression negative.R (RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstPoscBseZdZdZRS(s8Make the expression positive (noop for most expressions)R (RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstEnvironmentAttributecBseZdZdZRS(sLoads an attribute from the environment object. This is useful for extensions that want to call a callback stored on the environment. R-(sname(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRstExtensionAttributecBseZdZdZRS(sReturns the attribute of an extension bound to the environment. The identifier is the identifier of the :class:`Extension`. This node is usually constructed by calling the :meth:`~jinja2.ext.Extension.attr` method on an extension. t identifierR-(Rsname(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR&st ImportedNamecBseZdZdZRS(s&If created with an import name the import name is returned on node access. For example ``ImportedName('cgi.escape')`` returns the `escape` function from the cgi module on evaluation. Imports are optimized by the compiler so there is no need to assign them to local variables. t importname(R(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR0st InternalNamecBseZdZdZdZRS(s7An internal name in the compiler. You cannot create these nodes yourself but the parser provides a :meth:`~jinja2.parser.Parser.free_identifier` method that creates a new identifier for you. This identifier is not available from the template and is not threated specially by the compiler. R-cCstddS(NsKCan't create internal names. Use the `free_identifier` method on a parser.(RJ(R7((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR9Bs(sname(RRRRR9(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR9stMarkSafecBs eZdZdZddZRS(s:Mark the wrapped expression as safe (wrap it as `Markup`).RcCs%t||}t|jj|S(N(RERRR(R7R((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRKs(sexprN(RRRRRAR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRGstMarkSafeIfAutoescapecBs eZdZdZddZRS(sMark the wrapped expression as safe (wrap it as `Markup`) but only if autoescaping is active. .. versionadded:: 2.5 RcCsMt||}|jr$tn|jj|}|jrIt|S|S(N(RER6RRRR5R(R7RR((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRXs    (sexprN(RRRRRAR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRPstContextReferencecBseZdZRS(srReturns the current template context. It can be used like a :class:`Name` node, with a ``'load'`` ctx and will return the current :class:`~jinja2.runtime.Context` object. Here an example that assigns the current template name to a variable named `foo`:: Assign(Name('foo', ctx='store'), Getattr(ContextReference(), 'name')) (RRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRbs tContinuecBseZdZRS(sContinue a loop.(RRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRostBreakcBseZdZRS(s Break a loop.(RRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRsstScopecBseZdZdZRS(sAn artificial scope.Rq(sbody(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRwstEvalContextModifiercBseZdZdZRS(s Modifies the eval context. For each option that should be modified, a :class:`Keyword` has to be added to the :attr:`options` list. Example to change the `autoescape` setting:: EvalContextModifier(options=[Keyword('autoescape', Const(True))]) toptions(R(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR|stScopedEvalContextModifiercBseZdZdZRS(sModifies the eval context and reverts it later. Works exactly like :class:`EvalContextModifier` but will only modify the :class:`~jinja2.nodes.EvalContext` for nodes in the :attr:`body`. Rq(sbody(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRscOstddS(Nscan't create custom node types(RJ(R}R((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyt _failing_news(mRRt collectionsRt jinja2.utilsRtjinja2._compatRRRRRRRtmulttruedivtfloordivtpowtmodtaddtsubRtnot_tpostnegRRRRtgeRtleRRRR*RRlR2RERFRnRoRpRrRtRvR{R|RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRitsortedR&RRRRRRRRRRRRRRRRRRRRRRRRRt staticmethodR+(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyts .                          ,*  -