MCPcopy
hub / github.com/Nuitka/Nuitka / atColumnNumber

Method atColumnNumber

nuitka/SourceCodeReferences.py:124–132  ·  view source on GitHub ↗
(self, column)

Source from the content-addressed store, hash-verified

122 return self
123
124 def atColumnNumber(self, column):
125 assert type(column) is int, column
126
127 if self.column != column:
128 result = self._clone(self.line)
129 result.column = column
130 return result
131 else:
132 return self
133
134 def getLineNumber(self):
135 return self.line

Callers 15

buildFunctionWithParsingFunction · 0.80
enableFutureFeatureFunction · 0.80
buildStatementLoopBreakFunction · 0.80
buildReturnNodeFunction · 0.80
_checkInsideGeneratorFunction · 0.80
buildTryExceptionNodeFunction · 0.80
_raiseStarredSyntaxErrorFunction · 0.80

Calls 1

_cloneMethod · 0.95

Tested by

no test coverage detected