Ejemplo n.º 1
0
                color: #000;
            }

            textarea {
                width: 100%;
                height: 1000px;
            }
        </style>
    </head>
    <body>

    <pre spellcheck="false">
<?php 
// $data = new Processor("../src/gameobjects/Sprite.js");
$data = new Processor("../src/loader/Cache.js");
echo $data->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++) {