securesauce / precli

Precaution CLI - command line static application security testing tool
https://precli.readthedocs.io/
Other
13 stars 3 forks source link

Use child_by_type for all parsers #449

Closed ericwb closed 3 months ago

ericwb commented 3 months ago

The tree-sitter child_by_field_name doesn't appear to return any non-None value for any of our parsers. Therefore, this change will just switch all code to use the new convenience function child_by_type.