Homec4science

Add previous and next sibling pointers to `AASTNode`

Authored by Joshua Spence <josh@freelancer.com> on Nov 17 2015, 21:31.

Description

Add previous and next sibling pointers to AASTNode

Summary: Adds AASTNode::$previousSibling and AASTNode::$nextSibling properties. The primary use case is for writing a custom linter rule.

Test Plan: Tested in my custom linter rule.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D14496

Details

Committed
Joshua Spence <josh@freelancer.com>Nov 17 2015, 21:37
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU7124fef0f0d0: Improve parsing of namespaces
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@freelancer.com> committed rPHU23edd1b1f443: Add previous and next sibling pointers to `AASTNode` (authored by Joshua Spence <josh@freelancer.com>).Nov 17 2015, 21:37