Lines Matching refs:ctx
97 def get_eval_context(node, ctx):
98 if ctx is None:
104 return ctx
194 def set_ctx(self, ctx):
203 if 'ctx' in node.fields:
204 node.ctx = ctx
455 The `ctx` of the node can be one of the following values:
461 fields = ('name', 'ctx')
530 for subscripts. Like for :class:`Name` `ctx` specifies if the tuple
533 fields = ('items', 'ctx')
704 fields = ('node', 'arg', 'ctx')
708 if self.ctx != 'load':
724 fields = ('node', 'attr', 'ctx')
727 if self.ctx != 'load':
937 :class:`Name` node, with a ``'load'`` ctx and will return the
943 Assign(Name('foo', ctx='store'),