platform_build_soong/scripts/hiddenapi
Paul Duffin 92532e72a1 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
2022-03-15 15:33:51 +00:00
..
Android.bp Extract signature_trie.py from verify_overlaps.py 2022-03-09 14:04:23 +00:00
generate_hiddenapi_lists.py Apply pylint to scripts/hiddenapi/generate_hiddenapi_lists* 2021-08-27 00:09:25 +00:00
generate_hiddenapi_lists_test.py Apply pylint to scripts/hiddenapi/generate_hiddenapi_lists* 2021-08-27 00:09:25 +00:00
merge_csv.py Apply pylint to remaining scripts in hiddenapi 2021-08-27 00:30:41 +00:00
signature_patterns.py Allow implementation details to be excluded from signature patterns file 2021-10-05 15:47:05 +01:00
signature_patterns_test.py Allow implementation details to be excluded from signature patterns file 2021-10-05 15:47:05 +01:00
signature_trie.py Allow traversal over the trie structure 2022-03-15 15:33:51 +00:00
signature_trie_test.py Allow traversal over the trie structure 2022-03-15 15:33:51 +00:00
verify_overlaps.py Extract signature_trie.py from verify_overlaps.py 2022-03-09 14:04:23 +00:00
verify_overlaps_test.py Extract signature_trie.py from verify_overlaps.py 2022-03-09 14:04:23 +00:00