Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325
ó ÖÎ6ic@sdZddlZddlmZddlmZddlmZmZm Z m Z m Z m Z e e fZ iejd6ejd6ejd6ejd 6ejd 6ejd 6ejd 6Ziejd 6ejd 6ejd 6Ziejd6ejd6ejd6ejd6ejd6ejd6d„d6d„d6Z de!fd„ƒYZ"de#fd„ƒYZ$de%fd„ƒYZ&d„Z'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)fd0„ƒYZ0d1e)fd2„ƒYZ1d3e)fd4„ƒYZ2d5e)fd6„ƒYZ3d7e)fd8„ƒYZ4d9e)fd:„ƒYZ5d;e)fd<„ƒYZ6d=e)fd>„ƒYZ7d?e)fd@„ƒYZ8dAe(fdB„ƒYZ9dCe9fdD„ƒYZ:dEe9fdF„ƒYZ;dGe9fdH„ƒYZ<dIe9fdJ„ƒYZ=dKe=fdL„ƒYZ>dMe=fdN„ƒYZ?dOe=fdP„ƒYZ@dQe=fdR„ƒYZAdSe=fdT„ƒYZBdUe*fdV„ƒYZCdWe*fdX„ƒYZDdYe9fdZ„ƒYZEd[e9fd\„ƒYZFd]e9fd^„ƒYZGd_e9fd`„ƒYZHdae9fdb„ƒYZIdce9fdd„ƒYZJdee9fdf„ƒYZKdge9fdh„ƒYZLdie9fdj„ƒYZMdke*fdl„ƒYZNdme:fdn„ƒYZOdoe:fdp„ƒYZPdqe:fdr„ƒYZQdse:fdt„ƒYZRdue:fdv„ƒYZSdwe:fdx„ƒYZTdye:fdz„ƒYZUd{e:fd|„ƒYZVd}e:fd~„ƒYZWde;fd€„ƒYZXd�e;fd‚„ƒYZYdƒe;fd„„ƒYZZd…e9fd†„ƒYZ[d‡e9fdˆ„ƒYZ\d‰e9fdŠ„ƒYZ]d‹e9fdŒ„ƒYZ^d�e9fdŽ„ƒYZ_d�e9fd�„ƒYZ`d‘e9fd’„ƒYZad“e)fd”„ƒYZbd•e)fd–„ƒYZcd—e)fd˜„ƒYZdd™e)fdš„ƒYZed›eefdœ„ƒYZfd�„Zgehegƒe$_i[gdS(ž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. iÿÿÿÿN(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.pyR7stNodeTypecBseZdZd„ZRS(s¦A metaclass for nodes that handles the field and attribute inheritance. fields and attributes from the parent class are automatically forwarded to the child.cCsƒxZdD]R}g}|jt|d|dƒƒ|j|j|dƒƒt|ƒ||R0t RuntimeErrorR/(tnodetctx((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pytget_eval_contextas   tNodecBs›eZdZdZdZeZd„Zddd„Z ddd„Z d„Z d„Z d„Z ed „Zd „Zd „Zd „ZejZd „ZRS(s¼Baseclass for all Jinja2 nodes. There are a number of nodes available of different types. There are four major types: - :class:`Stmt`: statements - :class:`Expr`: expressions - :class:`Helper`: helper nodes - :class:`Template`: the outermost wrapper node All nodes have fields and attributes. Fields may be other nodes, lists, or arbitrary values. Fields are passed to the constructor as regular positional arguments, attributes as keyword arguments. Each node has two attributes: `lineno` (the line number of the node) and `environment`. The `environment` attribute is set at the end of the parsing process for all nodes automatically. tlinenoR0c Os0|jrtdƒ‚n|r×t|ƒt|jƒkr¡|js[td|jjƒ‚ntd|jjt|jƒt|jƒdkr‘dp”dfƒ‚nx3t|j|ƒD]\}}t|||ƒq´Wnx-|jD]"}t|||j |dƒƒqáW|r,tdt t |ƒƒƒ‚ndS(Ns#abstract nodes are not instanciables%r takes 0 argumentss%r takes 0 or %d argument%sitstsunknown attribute %r( R t TypeErrortlenRt __class__RRtsetattrRtpopR>Rtiter(R4RRR*targR-((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR6s$    + c cs“xŒ|jD]�}||ko'dkns\|dk rD||ks\|dk r ||kr y|t||ƒfVWq‹tk r‡q‹Xq q WdS(sZThis method iterates over all fields that are defined and yields ``(key, value)`` tuples. Per default all fields are returned, but it's possible to limit that to some fields by providing the `only` parameter or to exclude some using the `exclude` parameter. Both should be sets or tuples of field names. N(RR>R"tAttributeError(R4texcludetonlyR*((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyt iter_fields”s ccsxxq|j||ƒD]]\}}t|tƒrYx?|D]}t|tƒr5|Vq5q5Wqt|tƒr|VqqWdS(sÞIterates over all direct child nodes of the node. This iterates over all fields and yields the values of they are nodes. If the value of a field is a list all the nodes in that list are returned. N(RQt isinstancetlistRC(R4RORPtfieldtitemtn((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pytiter_child_nodes¤s cCsx|j|ƒD]}|SWdS(siFind the first node of a given type. If no such node exists the return value is `None`. N(tfind_all(R4t node_typetresult((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pytfind±sccsQxJ|jƒD]<}t||ƒr*|Vnx|j|ƒD] }|Vq:Wq WdS(s€Find all the nodes of a given type. If the type is a tuple, the check is performed for any of the tuple items. N(RWRRRX(R4RYtchildRZ((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRX¸s cCsZt|gƒ}xD|rU|jƒ}d|jkr?||_n|j|jƒƒqW|S(sReset the context of a node and all child nodes. Per default the parser will all generate nodes that have a 'load' context as it's the most common one. This method is used in the parser to set assignment targets and other nodes to a store context. RA(RtpopleftRRAR!RW(R4RAttodoR@((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pytset_ctxÂs   cCsrt|gƒ}x\|rm|jƒ}d|jkrW|jdksH|rW||_qWn|j|jƒƒqW|S(s.Set the line numbers of the node and children.RDN(RR]RRDR>R!RW(R4RDtoverrideR^R@((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyt set_linenoÐs  cCsHt|gƒ}x2|rC|jƒ}||_|j|jƒƒqW|S(s"Set the environment for all nodes.(RR]R0R!RW(R4R0R^R@((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pytset_environmentÛs    cCs:t|ƒt|ƒko9t|jƒƒt|jƒƒkS(N(R'R$RQ(R4tother((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyt__eq__äscCs|j|ƒ S(N(Rd(R4Rc((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyt__ne__èscs0dˆjjdj‡fd†ˆjDƒƒfS(Ns%s(%s)s, c3s+|]!}d|tˆ|dƒfVqdS(s%s=%rN(R"R>(t.0RM(R4(s0/usr/lib/python2.7/site-packages/jinja2/nodes.pys ñs(RIRtjoinR(R4((R4s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyt__repr__îs ((slinenos environmentN(RRRRRtTrueR R6R>RQRWR[RXR_R&RaRbRdRetobjectt__hash__Rh(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRCks       tStmtcBseZdZeZRS(sBase node for all statements.(RRRRiR (((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRlöstHelpercBseZdZeZRS(s,Nodes that exist in a specific context only.(RRRRiR (((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRmûstTemplatecBseZdZdZRS(sjNode that represents a template. This must be the outermost node that is passed to the compiler. tbody(Ro(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRnstOutputcBseZdZdZRS(s–A 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.pyRpstExtendscBseZdZdZRS(s Represents an extends statement.ttemplate(stemplate(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRrstForcBseZdZdZRS(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`. ttargetRLRotelse_ttestt recursive(RusitersbodyRvstestRx(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRtstIfcBseZdZdZRS(s4If `test` is true, `body` is rendered, else `else_`.RwRoRv(stestsbodyselse_(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRystMacrocBseZdZdZRS(sÀA 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*targstdefaultsRo(snamesargsR|sbody(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRz#st CallBlockcBseZdZdZRS(s‡Like a macro without a name but a call instead. `call` is called with the unnamed macro as `caller` argument this node holds. tcallR{R|Ro(scallsargssdefaultssbody(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR}+st FilterBlockcBseZdZdZRS(sNode for filter sections.Rotfilter(sbodysfilter(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR2stBlockcBseZdZdZRS(sA node that represents a block.R*Rotscoped(snamesbodyR‚(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�7stIncludecBseZdZdZRS(s'A node that represents the include tag.Rst with_contexttignore_missing(stemplateR„R…(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRƒ<stImportcBseZdZdZRS(s&A node that represents the import tag.RsRuR„(stemplatestargets with_context(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR†Ast 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. RstnamesR„(stemplatesnamess with_context(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR‡Fs tExprStmtcBseZdZdZRS(sAA statement that evaluates an expression and discards the result.R@(snode(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR‰TstAssigncBseZdZdZRS(s"Assigns an expression to a target.RuR@(stargetsnode(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRŠYstExprcBs)eZdZeZdd„Zd„ZRS(sBaseclass for all expressions.cCs tƒ‚dS(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(R4teval_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&(R4((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyt can_assignosN(RRRRiR R>R�RŽ(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR‹^s tBinExprcBs,eZdZdZdZeZdd„ZRS(s%Baseclass for all binary expressions.tlefttrightcCs“t||ƒ}|jjr<|j|jjkr<tƒ‚nt|j}y)||jj|ƒ|j j|ƒƒSWnt k rŽtƒ‚nXdS(N( RBR0t sandboxedtoperatortintercepted_binopsRt_binop_to_funcR�R�R‘t Exception(R4RŒtf((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�zs   ) (sleftsrightN( RRRRR>R“RiR R�(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�ts t UnaryExprcBs,eZdZdZdZeZdd„ZRS(s$Baseclass for all unary expressions.R@cCs„t||ƒ}|jjr<|j|jjkr<tƒ‚nt|j}y||jj|ƒƒSWnt k rtƒ‚nXdS(N( RBR0R’R“tintercepted_unopsRt _uaop_to_funcR@R�R–(R4RŒR—((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR��s    (snodeN( RRRRR>R“RiR R�(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR˜‡s tNamecBseZdZdZd„ZRS(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*RAcCs |jdkS(NttruetfalsetnoneRiR&R>(RœR�RžsTruesFalsesNone(R*(R4((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRޤs(snamesctx(RRRRRŽ(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR›šstLiteralcBseZdZeZRS(sBaseclass for literals.(RRRRiR (((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRŸ©stConstcBs5eZdZdZdd„Zeddd„ƒZRS(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¡(R4RŒ((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�¶scCs>ddlm}||ƒs(tƒ‚n||d|d|ƒS(s¨Return 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_reprRDR0(tcompilerR¢R(R)R¡RDR0R¢((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pytfrom_untrusted¹s  (svalueN(RRRRR>R�t classmethodR¤(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR ®s  t TemplateDatacBs eZdZdZdd„ZRS(sA constant template string.tdatacCsAt||ƒ}|jr$tƒ‚n|jr:t|jƒS|jS(N(RBR3RR2RR§(R4RŒ((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�És     (sdataN(RRRRR>R�(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR¦ÅstTuplecBs)eZdZdZdd„Zd„ZRS(s¼For 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. titemsRAcs,t|ˆƒ‰t‡fd†|jDƒƒS(Nc3s|]}|jˆƒVqdS(N(R�(Rftx(RŒ(s0/usr/lib/python2.7/site-packages/jinja2/nodes.pys Ûs(RBR$R©(R4RŒ((RŒs0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�ÙscCs(x!|jD]}|jƒs tSq WtS(N(R©RŽR&Ri(R4RU((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRŽÝs (sitemssctxN(RRRRR>R�RŽ(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR¨Òs tListcBs eZdZdZdd„ZRS(s&Any list literal such as ``[1, 2, 3]``R©cCs2t||ƒ}g|jD]}|j|ƒ^qS(N(RBR©R�(R4RŒRª((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�ès(sitemsN(RRRRR>R�(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR«ästDictcBs eZdZdZdd„ZRS(seAny dict literal such as ``{1: 2, 3: 4}``. The items must be a list of :class:`Pair` nodes. R©cs,t|ˆƒ‰t‡fd†|jDƒƒS(Nc3s|]}|jˆƒVqdS(N(R�(RfRª(RŒ(s0/usr/lib/python2.7/site-packages/jinja2/nodes.pys õs(RBtdictR©(R4RŒ((RŒs0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�ós(sitemsN(RRRRR>R�(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR¬ístPaircBs eZdZdZdd„ZRS(sA key, value pair for dicts.tkeyR¡cCs1t||ƒ}|jj|ƒ|jj|ƒfS(N(RBR¯R�R¡(R4RŒ((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�üs(skeysvalueN(RRRRR>R�(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR®østKeywordcBs eZdZdZdd„ZRS(s>A key, value pair for keyword arguments where key is a string.R¯R¡cCs(t||ƒ}|j|jj|ƒfS(N(RBR¯R¡R�(R4RŒ((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�s(skeysvalueN(RRRRR>R�(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR°stCondExprcBs eZdZdZdd„ZRS(sZA conditional expression (inline if expression). (``{{ foo if bar else baz }}``) Rwtexpr1texpr2cCs\t||ƒ}|jj|ƒr1|jj|ƒS|jdkrLtƒ‚n|jj|ƒS(N(RBRwR�R²R³R>R(R4RŒ((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�s  (stestsexpr1sexpr2N(RRRRR>R�(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR± stFiltercBs eZdZdZd d„ZRS( 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. R@R*R{tkwargstdyn_argst dyn_kwargscsåt|ˆƒ‰ˆjs'|jdkr3tƒ‚n|jjj|jƒ}|dksit |dt ƒrutƒ‚n|jj ˆƒ}g|j D]}|j ˆƒ^q‘}t |dt ƒrÑ|j dˆƒn(t |dt ƒrù|j d|jƒnt‡fd†|jDƒƒ}|jdk rdy|j|jj ˆƒƒWqdtk r`tƒ‚qdXn|jdk r°y|j|jj ˆƒƒWq°tk r¬tƒ‚q°Xny||||ŽSWntk ràtƒ‚nXdS(Nt contextfiltertevalcontextfilteritenvironmentfilterc3s|]}|jˆƒVqdS(N(R�(RfRª(RŒ(s0/usr/lib/python2.7/site-packages/jinja2/nodes.pys 7s(RBR3R@R>RR0tfiltersR#R*R"R&R�R{tinsertR­RµR¶R!R–R·R;(R4RŒtfilter_tobjRªR{Rµ((RŒs0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�%s6  %   (snodesnamesargsskwargssdyn_argss dyn_kwargsN(RRRRR>R�(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR´stTestcBseZdZdZRS(s„Applies a test on an expression. `name` is the name of the test, the rest of the fields are the same as for :class:`Call`. R@R*R{RµR¶R·(snodesnamesargsskwargssdyn_argss dyn_kwargs(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR¿HstCallcBs eZdZdZdd„ZRS( 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. R@R{RµR¶R·csÍt|ˆƒ‰ˆjs$ˆjjr0tƒ‚n|jjˆƒ}g|jD]}|jˆƒ^qL}t|t ƒrät |dt ƒr”tƒ‚qät |dt ƒr¹|j dˆƒqät |dt ƒrä|j d|jƒqänt ‡fd†|jDƒƒ}|jdk rOy|j|jjˆƒƒWqOtk rKtƒ‚qOXn|jdk r›y|j|jjˆƒƒWq›tk r—tƒ‚q›Xny|||ŽSWntk rÈtƒ‚nXdS(Ntcontextfunctiontevalcontextfunctionitenvironmentfunctionc3s|]}|jˆƒVqdS(N(R�(RfRª(RŒ(s0/usr/lib/python2.7/site-packages/jinja2/nodes.pys hs(RBR3R0R’RR@R�R{RRt_context_function_typesR"R&R¼R­RµR¶R>R!R–R·R;(R4RŒR¾RªR{Rµ((RŒs0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�Xs6 %    (snodesargsskwargssdyn_argss dyn_kwargsN(RRRRR>R�(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRÀOstGetitemcBs)eZdZdZdd„Zd„ZRS(s@Get an attribute or item from an expression and prefer the item.R@RMRAcCszt||ƒ}|jdkr*tƒ‚ny/|jj|jj|ƒ|jj|ƒƒSWntk rutƒ‚nXdS(Ntload( RBRARR0tgetitemR@R�RMR–(R4RŒ((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�}s  cCstS(N(R&(R4((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRއs(snodesargsctxN(RRRRR>R�RŽ(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRÅys tGetattrcBs)eZdZdZdd„Zd„ZRS(snGet an attribute or item from an expression that is a ascii-only bytestring and prefer the attribute. R@R-RAcCsq|jdkrtƒ‚ny5t||ƒ}|jj|jj|ƒ|jƒSWntk rltƒ‚nXdS(NRÆ( RARRBR0R"R@R�R-R–(R4RŒ((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�‘s  cCstS(N(R&(R4((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRŽ›s(snodesattrsctxN(RRRRR>R�RŽ(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRÈ‹s tSlicecBs eZdZdZdd„ZRS(s_Represents a slice object. This must only be used as argument for :class:`Subscript`. tstarttstoptstepcsIt|ˆƒ‰‡fd†}t||jƒ||jƒ||jƒƒS(Ncs|dkrdS|jˆƒS(N(R>R�(R¾(RŒ(s0/usr/lib/python2.7/site-packages/jinja2/nodes.pytconst§s (RBtsliceRÊRËRÌ(R4RŒRÍ((RŒs0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�¥s(sstartsstopsstepN(RRRRR>R�(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRÉŸstConcatcBs eZdZdZdd„ZRS(sXConcatenates the list of expressions provided after converting them to unicode. Rqcs/t|ˆƒ‰dj‡fd†|jDƒƒS(NRFc3s$|]}t|jˆƒƒVqdS(N(RR�(RfRª(RŒ(s0/usr/lib/python2.7/site-packages/jinja2/nodes.pys ¶s(RBRgRq(R4RŒ((RŒs0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�´s(snodesN(RRRRR>R�(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRÏ®stComparecBs eZdZdZdd„ZRS(siCompares an expression with some other expressions. `ops` must be a list of :class:`Operand`\s. texprtopscCsŒt||ƒ}|jj|ƒ}}yFx?|jD]4}|jj|ƒ}t|j||ƒ}|}q2WWntk r‡tƒ‚nX|S(N(RBRÑR�RÒt_cmpop_to_functopR–R(R4RŒRZR¡RÔt new_value((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�¿s  (sexprsopsN(RRRRR>R�(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRйstOperandcBseZdZdZRS(s$Holds an operator and an expression.RÔRÑ(sopsexpr(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRÖÌstMulcBseZdZdZRS(s(Multiplies the left with the right node.R(RRRR“(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR×ÖstDivcBseZdZdZRS(s#Divides the left by the right node.R (RRRR“(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRØÛstFloorDivcBseZdZdZRS(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.pyRÙàstAddcBseZdZdZRS(sAdd the left to the right node.R (RRRR“(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRÚçstSubcBseZdZdZRS(s'Substract the right from the left node.R (RRRR“(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRÛìstModcBseZdZdZRS(sLeft modulo right.R (RRRR“(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRÜñstPowcBseZdZdZRS(sLeft to the power of right.s**(RRRR“(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRÝöstAndcBs eZdZdZdd„ZRS(sShort circuited AND.tandcCs1t||ƒ}|jj|ƒo0|jj|ƒS(N(RBR�R�R‘(R4RŒ((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�ÿsN(RRRR“R>R�(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRÞûstOrcBs eZdZdZdd„ZRS(sShort circuited OR.torcCs1t||ƒ}|jj|ƒp0|jj|ƒS(N(RBR�R�R‘(R4RŒ((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�sN(RRRR“R>R�(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRàstNotcBseZdZdZRS(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.pyRãstPoscBseZdZdZRS(s8Make the expression positive (noop for most expressions)R (RRRR“(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRästEnvironmentAttributecBseZdZdZRS(s�Loads 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.pyRåstExtensionAttributecBseZdZdZRS(søReturns 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*(Rçsname(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.pyRè0st InternalNamecBseZdZdZd„ZRS(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*cCstdƒ‚dS(NsKCan't create internal names. Use the `free_identifier` method on a parser.(RG(R4((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR6Bs(sname(RRRRR6(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRê9stMarkSafecBs eZdZdZdd„ZRS(s:Mark the wrapped expression as safe (wrap it as `Markup`).RÑcCs%t||ƒ}t|jj|ƒƒS(N(RBRRÑR�(R4RŒ((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�Ks(sexprN(RRRRR>R�(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRëGstMarkSafeIfAutoescapecBs eZdZdZdd„ZRS(s�Mark the wrapped expression as safe (wrap it as `Markup`) but only if autoescaping is active. .. versionadded:: 2.5 RÑcCsMt||ƒ}|jr$tƒ‚n|jj|ƒ}|jrIt|ƒS|S(N(RBR3RRÑR�R2R(R4RŒRÑ((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyR�Xs    (sexprN(RRRRR>R�(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRìPstContextReferencecBseZdZRS(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.pyRíbs tContinuecBseZdZRS(sContinue a loop.(RRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRîostBreakcBseZdZRS(s Break a loop.(RRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRïsstScopecBseZdZdZRS(sAn artificial scope.Ro(sbody(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRðwstEvalContextModifiercBseZdZdZRS(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(sÈModifies 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`. Ro(sbody(RRRR(((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyRó‡scOstdƒ‚dS(Nscan't create custom node types(RG(R{Rµ((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pyt _failing_new�s(jRR“t collectionsRt jinja2.utilsRtjinja2._compatRRRRRRRÄtmulttruedivtfloordivtpowtmodtaddtsubR•tnot_tpostnegRšRRRtgeRtleRÓR–RR'RRjR/RBRCRlRmRnRpRrRtRyRzR}RR�RƒR†R‡R‰RŠR‹R�R˜R›RŸR R¦R¨R«R¬R®R°R±R´R¿RÀRÅRÈRÉRÏRÐRÖR×RØRÙRÚRÛRÜRÝRÞRàRâRãRäRåRæRèRêRëRìRíRîRïRðRñRóRôt staticmethodR((((s0/usr/lib/python2.7/site-packages/jinja2/nodes.pytsÀ .                    ‹      ,*