summaryrefslogtreecommitdiff
path: root/androidmk/parser/parser_test.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2022-03-09 14:28:34 +0000
committer Paul Duffin <paulduffin@google.com> 2022-03-15 15:33:51 +0000
commit92532e72a170c8ac2395d9a1485c414c8b4b4ddc (patch)
tree6c565d859fb81d120ae093a4536c1107bbd7a4a6 /androidmk/parser/parser_test.go
parentea93542e9007eba1eb04a6f3da7f344596b9967e (diff)
Allow traversal over the trie structure
Previously, there was no way to traverse the trie structure and no way to identify specific nodes in the trie. That made it impossible to analyze the trie structure resulting from loading a set of flags. This change adds type and selector properties to nodes as well as access to the child nodes of a node to allow for the structure to be analyzed. Bug: 202154151 Test: m out/soong/hiddenapi/hiddenapi-flags.csv atest --host signature_trie_test verify_overlaps_test pyformat -s 4 --force_quote_type double -i scripts/hiddenapi/signature_trie* /usr/bin/pylint --rcfile $ANDROID_BUILD_TOP/tools/repohooks/tools/pylintrc scripts/hiddenapi/signature_trie* Change-Id: Ia4714dbf59f6fd143aa3bf3ad1a59cd073d2175b
Diffstat (limited to 'androidmk/parser/parser_test.go')
0 files changed, 0 insertions, 0 deletions