mirror of
https://github.com/github/codeql.git
synced 2026-06-28 08:07:04 +02:00
Shared: auto-format tree sitter extractor
This commit is contained in:
@@ -888,7 +888,10 @@ pub fn create_print_ast_module(nodes: &node_types::NodeTypeMap) -> ql::TopLevel<
|
||||
// `ReservedWordInt` fields have string-valued getters, so they
|
||||
// are not children and are excluded (just as they are from
|
||||
// `getAFieldOrChild`).
|
||||
if matches!(field.type_info, node_types::FieldTypeInfo::ReservedWordInt(_)) {
|
||||
if matches!(
|
||||
field.type_info,
|
||||
node_types::FieldTypeInfo::ReservedWordInt(_)
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
let has_index = matches!(
|
||||
|
||||
Reference in New Issue
Block a user