Demo for SymbolNameParser
with NodeSymbolCollector
#151
Closed
llaville
started this conversation in
Show and tell
Replies: 1 comment
-
Closing this discussion for the same reason. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With commit llaville@3b61764 I've added a
demo
folder to give a try to see what we can do withNodeSymbolCollector
.For example :
php demo/playground.php demo/fixtures/class_constants_2.php --strategy '*' --debug=strategies --json-dump --node-attribute nodeType
You can limit strategy to use with
--strategy
option.See
playground.php
script at https://github.com/llaville/symbol-parser/blob/contribs/demo/playground.php#L46-L101Symbols found : (10)
With
--debug=strategies
optionStrategies used : (15)
With
--json-dump
optionNodes dump : (19)
Beta Was this translation helpful? Give feedback.
All reactions