total() . " blocks found\n\n";

/*
    echo "\nConstants:\n\n";

    for ($i = 0; $i < count($data->consts); $i++)
    {
        // print_r($data->consts[$i]->getJSON());
       $const = $data->consts[$i];
       echo "\n\n";
       echo $const->name;
       echo "\n";
       print_r($const->types);
    }
*/

    echo "\nMethods:\n\n";

    for ($i = 0; $i < count($data->methods); $i++)
    {
        $method = $data->methods[$i];

        if ($method->name === 'addMissingImage')
        {
            echo "\n\n";
            print_r($method->title);
            print_r($method->help);
            print_r($method->parameters);
            print_r($method->returns);
        }

    }

/*
    echo "\nProperties:\n\n";

    for ($i = 0; $i < count($data->properties); $i++)
    {
        $property = $data->properties[$i];
        echo "\n\n";
        echo $property->name . "\n";
        // print_r($property->types);
        echo "Source code line " . $property->line . "\n";
        echo "Default: " . $property->default . "\n";
        echo "Help: " . "\n";
        print_r($property->help);
        echo "\n\n";
    }
*/
?>