Page MenuHomePhabricator

Add a `getEndLineNumber` method to the `AASTNode` class
ClosedPublic

Authored by joshuaspence on Sep 21 2014, 10:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jun 16 2026, 9:57 AM
Unknown Object (File)
Feb 25 2026, 10:33 PM
Unknown Object (File)
Feb 25 2026, 6:21 PM
Unknown Object (File)
Feb 4 2026, 4:26 PM
Unknown Object (File)
Jan 30 2026, 11:38 PM
Unknown Object (File)
Nov 29 2025, 12:23 AM
Unknown Object (File)
Nov 6 2025, 6:20 AM
Unknown Object (File)
Nov 1 2025, 12:19 AM
Subscribers

Details

Summary

Adds a getEndLineNumber method to the AASTNode class. This method supplements the getLineNumber method, providing the ending line number for a given node. This feels a little awkward, but it makes D10535 a little nicer.

Test Plan

See D10535.

Diff Detail

Repository
rPHU libphutil
Branch
aastnodelen
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 2601
Build 2605: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Add a `getEndLineNumber` method to the `AASTNode` class.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence edited edge metadata.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Sep 24 2014, 8:58 PM
This revision was automatically updated to reflect the committed changes.