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)
Tue, May 7, 2:31 AM
Unknown Object (File)
Thu, Apr 18, 9:47 PM
Unknown Object (File)
Mar 25 2024, 1:44 PM
Unknown Object (File)
Mar 4 2024, 10:47 PM
Unknown Object (File)
Feb 20 2024, 12:36 AM
Unknown Object (File)
Feb 17 2024, 9:40 AM
Unknown Object (File)
Feb 8 2024, 4:44 PM
Unknown Object (File)
Jan 29 2024, 9:30 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
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.