Lines Matching refs:name

64     def __new__(cls, name, bases, d):
73 return type.__new__(cls, name, bases, d)
140 for name, arg in izip(self.fields, fields):
141 setattr(self, name, arg)
155 for name in self.fields:
157 (exclude is not None and name not in exclude) or \
158 (only is not None and name in only):
160 yield name, getattr(self, name)
321 """A macro definition. `name` is the name of the macro, `args` a list of
325 fields = ('name', 'args', 'defaults', 'body')
329 """Like a macro without a name but a call instead. `call` is called with
351 fields = ('name', 'body', 'scoped')
366 pass unsafe names to the name attribute. The compiler translates the
454 """Looks up a name or stores a value in a name.
457 - `store`: store a value in the name
458 - `load`: load that name
459 - `param`: like `store` but if the name was defined as function parameter.
461 fields = ('name', 'ctx')
464 return self.name not in ('true', 'false', 'none',
470 fields = ('name', 'attr')
622 """This node applies a filter on an expression. `name` is the name of
629 fields = ('node', 'name', 'args', 'kwargs', 'dyn_args', 'dyn_kwargs')
642 filter_ = self.environment.filters.get(self.name)
670 """Applies a test on an expression. `name` is the name of the test, the
674 fields = ('node', 'name', 'args', 'kwargs', 'dyn_args', 'dyn_kwargs')
677 test = self.environment.tests.get(self.name)
872 fields = ('name',)
882 fields = ('identifier', 'name')
886 """If created with an import name the import name is returned on node
895 """An internal name in the compiler. You cannot create these nodes
901 fields = ('name',)
940 Here an example that assigns the current template name to a
944 Getattr(ContextReference(), 'name'))