This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eu | |
readonly HOME_DIR=$(pwd) | |
readonly INPUT_DIR="${HOME_DIR}/dataset" | |
readonly RESULT_DIR="${HOME_DIR}/result" | |
if [ ! -d "${RESULT_DIR}" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
require_once __DIR__ . '/../vendor/autoload.php'; | |
use PhpParser\Error; | |
use PhpParser\Lexer; | |
use PhpParser\Node; | |
use PhpParser\NodeTraverser; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
require_once __DIR__ . '/../vendor/autoload.php'; | |
use PhpParser\Error; | |
use PhpParser\Node; | |
use PhpParser\NodeTraverser; | |
use PhpParser\NodeVisitorAbstract; |