ruff/crates/ruff_python_formatter/src/comments
konstin db301c14bd
Consistently name comment own line/end-of-line line_position() (#5215)
## Summary

Previously, `DecoratedComment` used `text_position()` and
`SourceComment` used `position()`. This PR unifies this to
`line_position` everywhere.

## Test Plan

This is a rename refactoring.
2023-06-21 11:04:56 +02:00
..
snapshots Fix ArgWithDefault comments handling (#5204) 2023-06-20 20:48:07 +00:00
debug.rs Consistently name comment own line/end-of-line line_position() (#5215) 2023-06-21 11:04:56 +02:00
format.rs Consistently name comment own line/end-of-line line_position() (#5215) 2023-06-21 11:04:56 +02:00
map.rs Correctly associate own-line comments in bodies (#4671) 2023-06-01 08:12:53 +02:00
mod.rs Consistently name comment own line/end-of-line line_position() (#5215) 2023-06-21 11:04:56 +02:00
node_key.rs Correctly associate own-line comments in bodies (#4671) 2023-06-01 08:12:53 +02:00
placement.rs Consistently name comment own line/end-of-line line_position() (#5215) 2023-06-21 11:04:56 +02:00
visitor.rs Consistently name comment own line/end-of-line line_position() (#5215) 2023-06-21 11:04:56 +02:00