- Work on extension integration.
- WIP of the inline view token - Began work on compiled-code caching
This commit is contained in:
1 parent
66c7b349d1
commit
f8e3dbd60f
8 files changed
+105
-11
No files matched your search
@@ -7,7 +7,7 @@ class JsonExtension implements Extension {
|
||||
public string $token = "json";
|
||||
public int $flags = JSON_HEX_TAG | \JSON_HEX_APOS | \JSON_HEX_QUOT | \JSON_THROW_ON_ERROR;
|
||||
|
||||
public function parse(/*\Picae\Compiler\Context*/ &$context, ?string $arguments) {
|
||||
public function parse(/*\Picae\Compiler\Context*/ &$context, ?string $arguments, string $token) {
|
||||
return "<?php echo json_encode($arguments, {$this->flags}) ?>";
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user