#!/usr/bin/env python3 # Copyright (c) 2022-2026, Sam Atkins # Copyright (c) 2026-present, the Ladybird developers. # # SPDX-License-Identifier: BSD-2-Clause import argparse import json import sys from pathlib import Path from typing import TextIO sys.path.append(str(Path(__file__).resolve().parent.parent)) from Utils.utils import title_casify TYPE_CHECKS = { "": "matches_angle(percentages_resolve_as)", "": "matches_dimension()", "": "matches_flex(percentages_resolve_as)", "": "matches_frequency(percentages_resolve_as)", "": "matches_length(percentages_resolve_as)", "": "matches_number(percentages_resolve_as)", "": "matches_percentage()", "": "matches_resolution(percentages_resolve_as)", "