libphutil/src/parser/aast/api/AASTNode.php has a tokenCache attribute which is not declared. This causes selectTokensOfTypes to miss the cache every time.
Steps to reproduce:
- Modify AASTNode to output something before line 197 (https://github.com/phacility/libphutil/blob/master/src/parser/aast/api/AASTNode.php#L197)
- Run time arc lint on a large php file
- Add private $tokenCache; before line 18 (https://github.com/phacility/libphutil/blob/master/src/parser/aast/api/AASTNode.php#L18)
- Run time arc lint again and observe the speed improvements/cache hits