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