tree-sitter-mozcpp 0.20.2

Mozcpp grammar for the tree-sitter parsing library
Documentation
[
  {
    "type": "_abstract_declarator",
    "named": true,
    "subtypes": [
      {
        "type": "abstract_array_declarator",
        "named": true
      },
      {
        "type": "abstract_function_declarator",
        "named": true
      },
      {
        "type": "abstract_parenthesized_declarator",
        "named": true
      },
      {
        "type": "abstract_pointer_declarator",
        "named": true
      },
      {
        "type": "abstract_reference_declarator",
        "named": true
      }
    ]
  },
  {
    "type": "_declarator",
    "named": true,
    "subtypes": [
      {
        "type": "array_declarator",
        "named": true
      },
      {
        "type": "attributed_declarator",
        "named": true
      },
      {
        "type": "destructor_name",
        "named": true
      },
      {
        "type": "function_declarator",
        "named": true
      },
      {
        "type": "identifier",
        "named": true
      },
      {
        "type": "operator_name",
        "named": true
      },
      {
        "type": "parenthesized_declarator",
        "named": true
      },
      {
        "type": "pointer_declarator",
        "named": true
      },
      {
        "type": "qualified_identifier",
        "named": true
      },
      {
        "type": "reference_declarator",
        "named": true
      },
      {
        "type": "structured_binding_declarator",
        "named": true
      },
      {
        "type": "template_function",
        "named": true
      }
    ]
  },
  {
    "type": "_expression",
    "named": true,
    "subtypes": [
      {
        "type": "assignment_expression",
        "named": true
      },
      {
        "type": "binary_expression",
        "named": true
      },
      {
        "type": "call_expression",
        "named": true
      },
      {
        "type": "cast_expression",
        "named": true
      },
      {
        "type": "char_literal",
        "named": true
      },
      {
        "type": "co_await_expression",
        "named": true
      },
      {
        "type": "compound_literal_expression",
        "named": true
      },
      {
        "type": "concatenated_string",
        "named": true
      },
      {
        "type": "conditional_expression",
        "named": true
      },
      {
        "type": "delete_expression",
        "named": true
      },
      {
        "type": "false",
        "named": true
      },
      {
        "type": "field_expression",
        "named": true
      },
      {
        "type": "identifier",
        "named": true
      },
      {
        "type": "lambda_expression",
        "named": true
      },
      {
        "type": "new_expression",
        "named": true
      },
      {
        "type": "null",
        "named": true
      },
      {
        "type": "nullptr",
        "named": true
      },
      {
        "type": "number_literal",
        "named": true
      },
      {
        "type": "parameter_pack_expansion",
        "named": true
      },
      {
        "type": "parenthesized_expression",
        "named": true
      },
      {
        "type": "pointer_expression",
        "named": true
      },
      {
        "type": "qualified_identifier",
        "named": true
      },
      {
        "type": "raw_string_literal",
        "named": true
      },
      {
        "type": "sizeof_expression",
        "named": true
      },
      {
        "type": "string_literal",
        "named": true
      },
      {
        "type": "subscript_expression",
        "named": true
      },
      {
        "type": "template_function",
        "named": true
      },
      {
        "type": "this",
        "named": true
      },
      {
        "type": "true",
        "named": true
      },
      {
        "type": "unary_expression",
        "named": true
      },
      {
        "type": "update_expression",
        "named": true
      },
      {
        "type": "user_defined_literal",
        "named": true
      }
    ]
  },
  {
    "type": "_field_declarator",
    "named": true,
    "subtypes": [
      {
        "type": "array_declarator",
        "named": true
      },
      {
        "type": "attributed_declarator",
        "named": true
      },
      {
        "type": "field_identifier",
        "named": true
      },
      {
        "type": "function_declarator",
        "named": true
      },
      {
        "type": "operator_name",
        "named": true
      },
      {
        "type": "parenthesized_declarator",
        "named": true
      },
      {
        "type": "pointer_declarator",
        "named": true
      },
      {
        "type": "reference_declarator",
        "named": true
      },
      {
        "type": "template_method",
        "named": true
      }
    ]
  },
  {
    "type": "_statement",
    "named": true,
    "subtypes": [
      {
        "type": "attributed_statement",
        "named": true
      },
      {
        "type": "break_statement",
        "named": true
      },
      {
        "type": "case_statement",
        "named": true
      },
      {
        "type": "co_return_statement",
        "named": true
      },
      {
        "type": "co_yield_statement",
        "named": true
      },
      {
        "type": "compound_statement",
        "named": true
      },
      {
        "type": "continue_statement",
        "named": true
      },
      {
        "type": "do_statement",
        "named": true
      },
      {
        "type": "expression_statement",
        "named": true
      },
      {
        "type": "for_range_loop",
        "named": true
      },
      {
        "type": "for_statement",
        "named": true
      },
      {
        "type": "goto_statement",
        "named": true
      },
      {
        "type": "if_statement",
        "named": true
      },
      {
        "type": "labeled_statement",
        "named": true
      },
      {
        "type": "return_statement",
        "named": true
      },
      {
        "type": "switch_statement",
        "named": true
      },
      {
        "type": "throw_statement",
        "named": true
      },
      {
        "type": "try_statement",
        "named": true
      },
      {
        "type": "while_statement",
        "named": true
      }
    ]
  },
  {
    "type": "_type_declarator",
    "named": true,
    "subtypes": [
      {
        "type": "array_declarator",
        "named": true
      },
      {
        "type": "attributed_declarator",
        "named": true
      },
      {
        "type": "function_declarator",
        "named": true
      },
      {
        "type": "parenthesized_declarator",
        "named": true
      },
      {
        "type": "pointer_declarator",
        "named": true
      },
      {
        "type": "type_identifier",
        "named": true
      }
    ]
  },
  {
    "type": "_type_specifier",
    "named": true,
    "subtypes": [
      {
        "type": "auto",
        "named": true
      },
      {
        "type": "class_specifier",
        "named": true
      },
      {
        "type": "decltype",
        "named": true
      },
      {
        "type": "dependent_type",
        "named": true
      },
      {
        "type": "enum_specifier",
        "named": true
      },
      {
        "type": "primitive_type",
        "named": true
      },
      {
        "type": "qualified_identifier",
        "named": true
      },
      {
        "type": "sized_type_specifier",
        "named": true
      },
      {
        "type": "struct_specifier",
        "named": true
      },
      {
        "type": "template_type",
        "named": true
      },
      {
        "type": "type_identifier",
        "named": true
      },
      {
        "type": "union_specifier",
        "named": true
      }
    ]
  },
  {
    "type": "abstract_array_declarator",
    "named": true,
    "fields": {
      "declarator": {
        "multiple": false,
        "required": false,
        "types": [
          {
            "type": "_abstract_declarator",
            "named": true
          }
        ]
      },
      "size": {
        "multiple": false,
        "required": false,
        "types": [
          {
            "type": "*",
            "named": false
          },
          {
            "type": "_expression",
            "named": true
          }
        ]
      }
    },
    "children": {
      "multiple": true,
      "required": false,
      "types": [
        {
          "type": "type_qualifier",
          "named": true
        }
      ]
    }
  },
  {
    "type": "abstract_function_declarator",
    "named": true,
    "fields": {
      "declarator": {
        "multiple": false,
        "required": false,
        "types": [
          {
            "type": "_abstract_declarator",
            "named": true
          }
        ]
      },
      "parameters": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "parameter_list",
            "named": true
          }
        ]
      }
    },
    "children": {
      "multiple": true,
      "required": false,
      "types": [
        {
          "type": "noexcept",
          "named": true
        },
        {
          "type": "ref_qualifier",
          "named": true
        },
        {
          "type": "throw_specifier",
          "named": true
        },
        {
          "type": "trailing_return_type",
          "named": true
        },
        {
          "type": "type_qualifier",
          "named": true
        }
      ]
    }
  },
  {
    "type": "abstract_parenthesized_declarator",
    "named": true,
    "fields": {},
    "children": {
      "multiple": false,
      "required": true,
      "types": [
        {
          "type": "_abstract_declarator",
          "named": true
        }
      ]
    }
  },
  {
    "type": "abstract_pointer_declarator",
    "named": true,
    "fields": {
      "declarator": {
        "multiple": false,
        "required": false,
        "types": [
          {
            "type": "_abstract_declarator",
            "named": true
          }
        ]
      }
    },
    "children": {
      "multiple": true,
      "required": false,
      "types": [
        {
          "type": "type_qualifier",
          "named": true
        }
      ]
    }
  },
  {
    "type": "abstract_reference_declarator",
    "named": true,
    "fields": {},
    "children": {
      "multiple": false,
      "required": false,
      "types": [
        {
          "type": "_abstract_declarator",
          "named": true
        }
      ]
    }
  },
  {
    "type": "access_specifier",
    "named": true,
    "fields": {}
  },
  {
    "type": "alias_declaration",
    "named": true,
    "fields": {
      "name": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "type_identifier",
            "named": true
          }
        ]
      },
      "type": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "type_descriptor",
            "named": true
          }
        ]
      }
    }
  },
  {
    "type": "alone_macro_call",
    "named": true,
    "fields": {}
  },
  {
    "type": "argument_list",
    "named": true,
    "fields": {},
    "children": {
      "multiple": true,
      "required": false,
      "types": [
        {
          "type": "_expression",
          "named": true
        },
        {
          "type": "initializer_list",
          "named": true
        },
        {
          "type": "preproc_defined",
          "named": true
        }
      ]
    }
  },
  {
    "type": "array_declarator",
    "named": true,
    "fields": {
      "declarator": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "_declarator",
            "named": true
          },
          {
            "type": "_field_declarator",
            "named": true
          },
          {
            "type": "_type_declarator",
            "named": true
          }
        ]
      },
      "size": {
        "multiple": false,
        "required": false,
        "types": [
          {
            "type": "*",
            "named": false
          },
          {
            "type": "_expression",
            "named": true
          }
        ]
      }
    },
    "children": {
      "multiple": true,
      "required": false,
      "types": [
        {
          "type": "type_qualifier",
          "named": true
        }
      ]
    }
  },
  {
    "type": "assignment_expression",
    "named": true,
    "fields": {
      "left": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "call_expression",
            "named": true
          },
          {
            "type": "field_expression",
            "named": true
          },
          {
            "type": "identifier",
            "named": true
          },
          {
            "type": "parenthesized_expression",
            "named": true
          },
          {
            "type": "pointer_expression",
            "named": true
          },
          {
            "type": "qualified_identifier",
            "named": true
          },
          {
            "type": "subscript_expression",
            "named": true
          }
        ]
      },
      "operator": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "%=",
            "named": false
          },
          {
            "type": "&=",
            "named": false
          },
          {
            "type": "*=",
            "named": false
          },
          {
            "type": "+=",
            "named": false
          },
          {
            "type": "-=",
            "named": false
          },
          {
            "type": "/=",
            "named": false
          },
          {
            "type": "<<=",
            "named": false
          },
          {
            "type": "=",
            "named": false
          },
          {
            "type": ">>=",
            "named": false
          },
          {
            "type": "^=",
            "named": false
          },
          {
            "type": "|=",
            "named": false
          }
        ]
      },
      "right": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "_expression",
            "named": true
          }
        ]
      }
    }
  },
  {
    "type": "attribute",
    "named": true,
    "fields": {
      "name": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "identifier",
            "named": true
          }
        ]
      },
      "prefix": {
        "multiple": false,
        "required": false,
        "types": [
          {
            "type": "identifier",
            "named": true
          }
        ]
      }
    },
    "children": {
      "multiple": false,
      "required": false,
      "types": [
        {
          "type": "argument_list",
          "named": true
        }
      ]
    }
  },
  {
    "type": "attribute_declaration",
    "named": true,
    "fields": {},
    "children": {
      "multiple": true,
      "required": true,
      "types": [
        {
          "type": "attribute",
          "named": true
        }
      ]
    }
  },
  {
    "type": "attribute_specifier",
    "named": true,
    "fields": {},
    "children": {
      "multiple": false,
      "required": true,
      "types": [
        {
          "type": "argument_list",
          "named": true
        }
      ]
    }
  },
  {
    "type": "attributed_declarator",
    "named": true,
    "fields": {},
    "children": {
      "multiple": true,
      "required": true,
      "types": [
        {
          "type": "_declarator",
          "named": true
        },
        {
          "type": "_field_declarator",
          "named": true
        },
        {
          "type": "_type_declarator",
          "named": true
        },
        {
          "type": "attribute_declaration",
          "named": true
        }
      ]
    }
  },
  {
    "type": "attributed_statement",
    "named": true,
    "fields": {},
    "children": {
      "multiple": true,
      "required": true,
      "types": [
        {
          "type": "_statement",
          "named": true
        },
        {
          "type": "attribute_declaration",
          "named": true
        }
      ]
    }
  },
  {
    "type": "base_class_clause",
    "named": true,
    "fields": {},
    "children": {
      "multiple": true,
      "required": true,
      "types": [
        {
          "type": "qualified_identifier",
          "named": true
        },
        {
          "type": "template_type",
          "named": true
        },
        {
          "type": "type_identifier",
          "named": true
        }
      ]
    }
  },
  {
    "type": "binary_expression",
    "named": true,
    "fields": {
      "left": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "_expression",
            "named": true
          },
          {
            "type": "preproc_defined",
            "named": true
          }
        ]
      },
      "operator": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "!=",
            "named": false
          },
          {
            "type": "%",
            "named": false
          },
          {
            "type": "&",
            "named": false
          },
          {
            "type": "&&",
            "named": false
          },
          {
            "type": "*",
            "named": false
          },
          {
            "type": "+",
            "named": false
          },
          {
            "type": "-",
            "named": false
          },
          {
            "type": "/",
            "named": false
          },
          {
            "type": "<",
            "named": false
          },
          {
            "type": "<<",
            "named": false
          },
          {
            "type": "<=",
            "named": false
          },
          {
            "type": "==",
            "named": false
          },
          {
            "type": ">",
            "named": false
          },
          {
            "type": ">=",
            "named": false
          },
          {
            "type": ">>",
            "named": false
          },
          {
            "type": "^",
            "named": false
          },
          {
            "type": "|",
            "named": false
          },
          {
            "type": "||",
            "named": false
          }
        ]
      },
      "right": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "_expression",
            "named": true
          },
          {
            "type": "preproc_defined",
            "named": true
          }
        ]
      }
    }
  },
  {
    "type": "bitfield_clause",
    "named": true,
    "fields": {},
    "children": {
      "multiple": false,
      "required": true,
      "types": [
        {
          "type": "_expression",
          "named": true
        }
      ]
    }
  },
  {
    "type": "break_statement",
    "named": true,
    "fields": {}
  },
  {
    "type": "call_expression",
    "named": true,
    "fields": {
      "arguments": {
        "multiple": true,
        "required": true,
        "types": [
          {
            "type": "(",
            "named": false
          },
          {
            "type": ")",
            "named": false
          },
          {
            "type": ",",
            "named": false
          },
          {
            "type": "_expression",
            "named": true
          },
          {
            "type": "argument_list",
            "named": true
          },
          {
            "type": "initializer_list",
            "named": true
          },
          {
            "type": "parameter_declaration",
            "named": true
          }
        ]
      },
      "function": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "CACHE_TRY_INSPECT",
            "named": false
          },
          {
            "type": "CACHE_TRY_UNWRAP",
            "named": false
          },
          {
            "type": "FORWARD",
            "named": false
          },
          {
            "type": "FORWARD_SET_ATTRIBUTE",
            "named": false
          },
          {
            "type": "IDB_TRY_INSPECT",
            "named": false
          },
          {
            "type": "IDB_TRY_UNWRAP",
            "named": false
          },
          {
            "type": "LS_TRY_INSPECT",
            "named": false
          },
          {
            "type": "LS_TRY_UNWRAP",
            "named": false
          },
          {
            "type": "PS_GET",
            "named": false
          },
          {
            "type": "PS_GET_AND_SET",
            "named": false
          },
          {
            "type": "PS_GET_LOCKLESS",
            "named": false
          },
          {
            "type": "QM_NOTEONLY_TRY_UNWRAP",
            "named": false
          },
          {
            "type": "QM_TRY_INSPECT",
            "named": false
          },
          {
            "type": "QM_TRY_UNWRAP",
            "named": false
          },
          {
            "type": "QM_WARNONLY_TRY_UNWRAP",
            "named": false
          },
          {
            "type": "SDB_TRY_INSPECT",
            "named": false
          },
          {
            "type": "SDB_TRY_UNWRAP",
            "named": false
          },
          {
            "type": "_expression",
            "named": true
          },
          {
            "type": "primitive_type",
            "named": true
          }
        ]
      }
    }
  },
  {
    "type": "case_statement",
    "named": true,
    "fields": {
      "value": {
        "multiple": false,
        "required": false,
        "types": [
          {
            "type": "_expression",
            "named": true
          }
        ]
      }
    },
    "children": {
      "multiple": true,
      "required": false,
      "types": [
        {
          "type": "attributed_statement",
          "named": true
        },
        {
          "type": "break_statement",
          "named": true
        },
        {
          "type": "co_return_statement",
          "named": true
        },
        {
          "type": "co_yield_statement",
          "named": true
        },
        {
          "type": "compound_statement",
          "named": true
        },
        {
          "type": "continue_statement",
          "named": true
        },
        {
          "type": "declaration",
          "named": true
        },
        {
          "type": "do_statement",
          "named": true
        },
        {
          "type": "expression_statement",
          "named": true
        },
        {
          "type": "for_range_loop",
          "named": true
        },
        {
          "type": "for_statement",
          "named": true
        },
        {
          "type": "goto_statement",
          "named": true
        },
        {
          "type": "if_statement",
          "named": true
        },
        {
          "type": "labeled_statement",
          "named": true
        },
        {
          "type": "return_statement",
          "named": true
        },
        {
          "type": "switch_statement",
          "named": true
        },
        {
          "type": "throw_statement",
          "named": true
        },
        {
          "type": "try_statement",
          "named": true
        },
        {
          "type": "type_definition",
          "named": true
        },
        {
          "type": "while_statement",
          "named": true
        }
      ]
    }
  },
  {
    "type": "cast_expression",
    "named": true,
    "fields": {
      "type": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "type_descriptor",
            "named": true
          }
        ]
      },
      "value": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "_expression",
            "named": true
          }
        ]
      }
    }
  },
  {
    "type": "catch_clause",
    "named": true,
    "fields": {
      "body": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "compound_statement",
            "named": true
          }
        ]
      },
      "parameters": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "parameter_list",
            "named": true
          }
        ]
      }
    }
  },
  {
    "type": "char_literal",
    "named": true,
    "fields": {},
    "children": {
      "multiple": false,
      "required": false,
      "types": [
        {
          "type": "escape_sequence",
          "named": true
        }
      ]
    }
  },
  {
    "type": "class_specifier",
    "named": true,
    "fields": {
      "body": {
        "multiple": false,
        "required": false,
        "types": [
          {
            "type": "field_declaration_list",
            "named": true
          }
        ]
      },
      "name": {
        "multiple": false,
        "required": false,
        "types": [
          {
            "type": "qualified_identifier",
            "named": true
          },
          {
            "type": "template_type",
            "named": true
          },
          {
            "type": "type_identifier",
            "named": true
          }
        ]
      }
    },
    "children": {
      "multiple": true,
      "required": false,
      "types": [
        {
          "type": "base_class_clause",
          "named": true
        },
        {
          "type": "macro_annotation",
          "named": true
        },
        {
          "type": "virtual_specifier",
          "named": true
        }
      ]
    }
  },
  {
    "type": "co_await_expression",
    "named": true,
    "fields": {
      "argument": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "_expression",
            "named": true
          }
        ]
      },
      "operator": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "co_await",
            "named": false
          }
        ]
      }
    }
  },
  {
    "type": "co_return_statement",
    "named": true,
    "fields": {},
    "children": {
      "multiple": false,
      "required": false,
      "types": [
        {
          "type": "_expression",
          "named": true
        }
      ]
    }
  },
  {
    "type": "co_yield_statement",
    "named": true,
    "fields": {},
    "children": {
      "multiple": false,
      "required": true,
      "types": [
        {
          "type": "_expression",
          "named": true
        }
      ]
    }
  },
  {
    "type": "comma_expression",
    "named": true,
    "fields": {
      "left": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "_expression",
            "named": true
          }
        ]
      },
      "right": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "_expression",
            "named": true
          },
          {
            "type": "comma_expression",
            "named": true
          }
        ]
      }
    }
  },
  {
    "type": "compound_literal_expression",
    "named": true,
    "fields": {
      "type": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "qualified_identifier",
            "named": true
          },
          {
            "type": "template_type",
            "named": true
          },
          {
            "type": "type_descriptor",
            "named": true
          },
          {
            "type": "type_identifier",
            "named": true
          }
        ]
      },
      "value": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "initializer_list",
            "named": true
          }
        ]
      }
    }
  },
  {
    "type": "compound_statement",
    "named": true,
    "fields": {},
    "children": {
      "multiple": true,
      "required": false,
      "types": [
        {
          "type": "_statement",
          "named": true
        },
        {
          "type": "_type_specifier",
          "named": true
        },
        {
          "type": "alias_declaration",
          "named": true
        },
        {
          "type": "alone_macro",
          "named": true
        },
        {
          "type": "alone_macro_call",
          "named": true
        },
        {
          "type": "declaration",
          "named": true
        },
        {
          "type": "function_definition",
          "named": true
        },
        {
          "type": "linkage_specification",
          "named": true
        },
        {
          "type": "namespace_definition",
          "named": true
        },
        {
          "type": "preproc_call",
          "named": true
        },
        {
          "type": "preproc_def",
          "named": true
        },
        {
          "type": "preproc_function_def",
          "named": true
        },
        {
          "type": "preproc_if",
          "named": true
        },
        {
          "type": "preproc_ifdef",
          "named": true
        },
        {
          "type": "preproc_include",
          "named": true
        },
        {
          "type": "static_assert_declaration",
          "named": true
        },
        {
          "type": "template_declaration",
          "named": true
        },
        {
          "type": "template_instantiation",
          "named": true
        },
        {
          "type": "type_definition",
          "named": true
        },
        {
          "type": "using_declaration",
          "named": true
        }
      ]
    }
  },
  {
    "type": "concatenated_string",
    "named": true,
    "fields": {},
    "children": {
      "multiple": true,
      "required": true,
      "types": [
        {
          "type": "identifier",
          "named": true
        },
        {
          "type": "raw_string_literal",
          "named": true
        },
        {
          "type": "string_literal",
          "named": true
        }
      ]
    }
  },
  {
    "type": "condition_clause",
    "named": true,
    "fields": {
      "initializer": {
        "multiple": false,
        "required": false,
        "types": [
          {
            "type": "declaration",
            "named": true
          },
          {
            "type": "expression_statement",
            "named": true
          }
        ]
      },
      "value": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "_expression",
            "named": true
          },
          {
            "type": "comma_expression",
            "named": true
          },
          {
            "type": "declaration",
            "named": true
          }
        ]
      }
    }
  },
  {
    "type": "conditional_expression",
    "named": true,
    "fields": {
      "alternative": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "_expression",
            "named": true
          }
        ]
      },
      "condition": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "_expression",
            "named": true
          }
        ]
      },
      "consequence": {
        "multiple": false,
        "required": true,
        "types": [
          {
            "type": "_expression",
            "named": true
          }
        ]
      }
    }
  },
  {
    "type": "continue_statement",
    "named": true,
    "fields": {}
  },
  {
    "type": "declaration",
    "named": true,
    "fields": {
      "declarator": {
        "multiple": true,
        "required": true,
        "types": [
          {
            "type": "_declarator",
            "named": true
          },
          {
            "type": "init_declarator",
            "named": true
          },
          {
            "type": "operator_cast",
            "named": true
          }
        ]
      },
      "default_value": {
        "multiple": false,
        "required": false,
        "types": [
          {
            "type": "_expression",
            "named": true
          }
        ]
      },
      "type": {
        "multiple": false,
        "required": false,
        "types": [
          {
            "type": "_type_specifier",
            "named": true
          }
        ]
      },
      "value": {
        "multiple": false,
        "required": false,
        "types": [
          {
            "type": "_expression",
            "named": true
          },
          {
            "type": "initializer_list",
            "named": true
          }
        ]
      }
    },
    "children": {
      "multiple": true,
      "required": false,
      "types": [
        {
          "type": "attribute_declaration",
          "named": true
        },
        {
          "type": "attribute_specifier",
          "named": true
        },
        {
          "type": "explicit_function_specifier",
          "named": true
        },
        {
          "type": "ms_declspec_modifier",
          "named": true
        },
        {
          "type": "storage_class_specifier",
          "named": true
        },
        {
          "type": "type_qualifier",
          "named": true
        },
        {
          "type": "virtual_function_specifier",
          "named": true
        }
      ]
    }
  },
  {
    "type": "declaration_list",
    "named": true,
    "fields": {},
    "children": {
      "multiple": true,
      "required": false,
      "types": [
        {
          "type": "_statement",
          "named": true
        },
        {
          "type": "_type_specifier",
          "named": true
        },
        {
          "type": "alias_declaration",
          "named": true
        },
        {
          "type": "alone_macro",
          "named": true
        },
        {
          "type": "alone_macro_call",
          "named": true
        },
        {
          "type": "declaration",
          "named": true
        },
        {
          "type": "function_definition",
          "named": true
        },
        {
          "type": "linkage_specification",
          "named": true
        },
        {
          "type": "namespace_definition",
          "named": true
        },
        {
          "type": "preproc_call",
          "named": true
        },
        {
          "type": "preproc_def",
          "named": true
        },
        {
          "type": "preproc_function_def",
          "named": true
        },
        {
          "type": "preproc_if",
          "named": true
        },
        {
          "type": "preproc_ifdef",
          "named": true
        },
        {
          "type": "preproc_include",
          "named": true
        },
        {
          "type": "static_assert_declaration",
          "named": true
        },
        {
          "type": "template_declaration",
          "named": true
        },
        {
          "type": "template_instantiation",
          "named": true
        },
        {
          "type": "type_definition",
          "named": true
        },
        {
          "type": "using_declaration",
          "named": true
        }
      ]
    }
  },
  {
    "type": "decltype",
    "named": true,
    "fields": {},
    "children": {
      "multiple": false,
      "required": true,
      "types": [
        {
          "type": "_expression",
          "named": true
        }
      ]
    }
  },
  {
    "type": "default_method_clause",
    "named": true,
    "fields": {}
  },
  {
    "type": "delete_expression",
    "named": true,
    "fields": {},
    "children": {
      "multiple": false,
      "required": true,
      "types": [
        {
          "type": "_expression",
          "named": true
        }
      ]
    }
  },
  {
    "type": "delete_method_clause",
    "named": true,
    "fields": {}
  },
  {
    "type": "dependent_name",
    "named": true,
    "fields": {},
    "children": {
      "multiple": false,
      "required": true,
      "types": [
        {
          "type": "template_function",
          "named": true
        },
        {
          "type": "template_method",
          "named": true
        },
        {
          "type": "template_type",
          "named": true
        }
      ]
    }
  },
  {
    "type": "dependent_type",
    "named": true,
    "fields": {},
    "children": {
      "multiple": false,
      "required": true,
      "types": [
        {
          "type": "_type_specifier",
          "named": true
        }
      ]
    }
  },
  {
    "type": "destructor_name",
    "named": true,
    "fields"