Home | History | Annotate | Download | only in jinja2

Lines Matching refs:scope

42 # does if 0: dummy(x) get us x into the scope?
129 """Check if a name is declared in this or an outer scope."""
193 """Walk the node and check for identifiers. If the scope is hard (eg:
340 is visited as part of the outer scope.
381 # into the global python scope they are registered here
573 """Pull all the references identifiers into the local scope."""
605 into the current scope. No indentation takes place.
644 variable in a scope where the initial value is coming from an
645 outer scope, this function tries to fall back with a common
659 # declared locally *and* part of an outside scope raise a template
672 'derived from an outer scope! (affects: %s)' %
682 # no special variables for this scope, abort early
878 self.fail('cannot use extend from a non top-level scope',