Lines Matching refs:lineno
119 two attributes: `lineno` (the line number of the node) and `environment`.
124 attributes = ('lineno', 'environment')
208 def set_lineno(self, lineno, override=False):
213 if 'lineno' in node.attributes:
214 if node.lineno is None or override:
215 node.lineno = lineno
442 def from_untrusted(cls, value, lineno=None, environment=None):
450 return cls(value, lineno=lineno, environment=environment)