- 3.0.1 core module.
|
Public Member Functions | |
def | __init__ (self, line=-1, column=-1) |
def | __eq__ (self, rhs) |
def | __ne__ (self, rhs) |
def | __lt__ (self, rhs) |
def | __le__ (self, rhs) |
def | __gt__ (self, rhs) |
def | __ge__ (self, rhs) |
def | __str__ (self) |
def | __add__ (self, offset) |
def | __sub__ (self, offset) |
def | Clone (self) |
Public Attributes | |
line | |
column | |
Represents a position (line and column) in a text file.
def pump.Cursor.__init__ | ( | self, | |
line = -1 , |
|||
column = -1 |
|||
) |
def pump.Cursor.__eq__ | ( | self, | |
rhs | |||
) |
References pump.Cursor.column, pump.Cursor.line, testing::internal::CodeLocation.line, testing::internal::ParameterizedTestSuiteInfo< TestSuite >::InstantiationInfo.line, and testing::internal::AssertHelper::AssertHelperData.line.
def pump.Cursor.__ne__ | ( | self, | |
rhs | |||
) |
def pump.Cursor.__lt__ | ( | self, | |
rhs | |||
) |
References pump.Cursor.column, pump.Cursor.line, testing::internal::CodeLocation.line, testing::internal::ParameterizedTestSuiteInfo< TestSuite >::InstantiationInfo.line, and testing::internal::AssertHelper::AssertHelperData.line.
def pump.Cursor.__le__ | ( | self, | |
rhs | |||
) |
def pump.Cursor.__gt__ | ( | self, | |
rhs | |||
) |
def pump.Cursor.__ge__ | ( | self, | |
rhs | |||
) |
def pump.Cursor.__str__ | ( | self | ) |
References pump.Cursor.column, pump.Eof(), pump.Cursor.line, testing::internal::CodeLocation.line, testing::internal::ParameterizedTestSuiteInfo< TestSuite >::InstantiationInfo.line, and testing::internal::AssertHelper::AssertHelperData.line.
def pump.Cursor.__add__ | ( | self, | |
offset | |||
) |
References pump.Cursor.column, pump.Cursor.line, testing::internal::CodeLocation.line, testing::internal::ParameterizedTestSuiteInfo< TestSuite >::InstantiationInfo.line, and testing::internal::AssertHelper::AssertHelperData.line.
def pump.Cursor.__sub__ | ( | self, | |
offset | |||
) |
References pump.Cursor.column, pump.Cursor.line, testing::internal::CodeLocation.line, testing::internal::ParameterizedTestSuiteInfo< TestSuite >::InstantiationInfo.line, and testing::internal::AssertHelper::AssertHelperData.line.
def pump.Cursor.Clone | ( | self | ) |
Returns a copy of self.
References pump.Cursor.column, pump.Cursor.line, testing::internal::CodeLocation.line, testing::internal::ParameterizedTestSuiteInfo< TestSuite >::InstantiationInfo.line, and testing::internal::AssertHelper::AssertHelperData.line.
pump.Cursor.line |
pump.Cursor.column |