14 lines
321 B
PHP
14 lines
321 B
PHP
<?php
|
|
|
|
namespace Picea\ControlStructure;
|
|
|
|
class UseToken implements ControlStructure {
|
|
|
|
public string $token = "use";
|
|
|
|
public function parse(\Picea\Compiler\Context &$context, ?string $arguments, string $token, array $options = []) : string {
|
|
$context->useStack[] = $arguments;
|
|
return "";
|
|
}
|
|
}
|