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
F15471829: D10534.diff
Sat, Apr 5, 8:17 AM
F15459281: D10534.id25345.diff
Mon, Mar 31, 11:39 AM
F15386292: D10534.id25345.diff
Sat, Mar 15, 12:18 AM
F15334660: D10534.diff
Sat, Mar 8, 11:16 AM
F15299969: D10534.diff
Mar 5 2025, 4:14 PM
Unknown Object (File)
Mar 3 2025, 3:01 AM
Unknown Object (File)
Feb 7 2025, 11:23 PM
Unknown Object (File)
Feb 7 2025, 11:23 PM
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.