Lines Matching defs:variables
49 # Thread-local variables container.
564 # The handler only receives *args if no named variables are set.
874 variables = None
885 can have variables enclosed by ``<>`` that define a name, a
912 The handler only receives ``*args`` if no named variables are
915 just mix named and unnamed variables and the handler will
929 also present in the route variables are used to build the URI
964 self.variables = _parse_route_template(self.template,
1015 variables = self.variables
1019 if key in variables:
1023 for name, regex in variables.iteritems():
1060 # The handler only receives *args if no named variables are set.
1083 # The handler only receives *args if no named variables are set.
1225 variables defined in the route must be passed and must conform
1228 Dictionary of keyword arguments to build the URI. All variables
1381 The context is responsible for setting and cleaning global variables for
1413 # Register global variables.
1424 # Unregister global variables.
1482 """Registers the global variables for app and request.
1506 """Clears global variables. See :meth:`set_globals`."""
1929 variables = {}
1944 variables[name] = re.compile('^%s$' % expr)
1947 kwargs_count = len(variables) - args_count
1950 return regex, reverse_template, args_count, kwargs_count, variables