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
F13993459: D10534.id25310.diff
Tue, Oct 22, 10:59 PM
F13978755: D10534.diff
Sat, Oct 19, 12:48 AM
F13969740: D10534.diff
Oct 17 2024, 3:41 AM
Unknown Object (File)
Sep 17 2024, 5:46 AM
Unknown Object (File)
Sep 15 2024, 8:26 AM
Unknown Object (File)
Aug 26 2024, 7:22 AM
Unknown Object (File)
Aug 25 2024, 2:11 PM
Unknown Object (File)
Aug 20 2024, 1:23 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.