Lines Matching refs:fields

61     inheritance.  fields and attributes from the parent class are
65 for attr in 'fields', 'attributes':
116 All nodes have fields and attributes. Fields may be other nodes, lists,
123 fields = ()
127 def __init__(self, *fields, **attributes):
130 if fields:
131 if len(fields) != len(self.fields):
132 if not self.fields:
137 len(self.fields),
138 len(self.fields) != 1 and 's' or ''
140 for name, arg in izip(self.fields, fields):
149 """This method iterates over all fields that are defined and yields
150 ``(key, value)`` tuples. Per default all fields are returned, but
151 it's possible to limit that to some fields by providing the `only`
155 for name in self.fields:
166 over all fields and yields the values of they are nodes. If the value
203 if 'ctx' in node.fields:
242 arg in self.fields)
252 if not node.fields:
255 for idx, field in enumerate(node.fields):
289 fields = ('body',)
296 fields = ('nodes',)
301 fields = ('template',)
312 fields = ('target', 'iter', 'body', 'else_', 'test', 'recursive')
317 fields = ('test', 'body', 'elif_', 'else_')
325 fields = ('name', 'args', 'defaults', 'body')
332 fields = ('call', 'args', 'defaults', 'body')
337 fields = ('body', 'filter')
346 fields = ('targets', 'values', 'body')
351 fields = ('name', 'body', 'scoped')
356 fields = ('template', 'with_context', 'ignore_missing')
361 fields = ('template', 'target', 'with_context')
375 fields = ('template', 'names', 'with_context')
380 fields = ('node',)
385 fields = ('target', 'node')
390 fields = ('target', 'filter', 'body')
417 fields = ('left', 'right')
436 fields = ('node',)
461 fields = ('name', 'ctx')
470 fields = ('name', 'attr')
491 fields = ('value',)
517 fields = ('data',)
533 fields = ('items', 'ctx')
548 fields = ('items',)
559 fields = ('items',)
568 fields = ('key', 'value')
577 fields = ('key', 'value')
588 fields = ('test', 'expr1', 'expr2')
623 the filter, the rest of the fields are the same as for :class:`Call`.
629 fields = ('node', 'name', 'args', 'kwargs', 'dyn_args', 'dyn_kwargs')
671 rest of the fields are the same as for :class:`Call`.
674 fields = ('node', 'name', 'args', 'kwargs', 'dyn_args', 'dyn_kwargs')
699 fields = ('node', 'args', 'kwargs', 'dyn_args', 'dyn_kwargs')
704 fields = ('node', 'arg', 'ctx')
724 fields = ('node', 'attr', 'ctx')
744 fields = ('start', 'stop', 'step')
759 fields = ('nodes',)
770 fields = ('expr', 'ops')
787 fields = ('op', 'expr')
872 fields = ('name',)
882 fields = ('identifier', 'name')
891 fields = ('importname',)
901 fields = ('name',)
910 fields = ('expr',)
923 fields = ('expr',)
958 fields = ('body',)
974 fields = ('context', 'body')
985 fields = ('options',)
993 fields = ('body',)