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