- 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
+2
-2
@@ -42,7 +42,7 @@ class Compiler
|
||||
return $this->tagList[$token]->parse($context, $arguments);
|
||||
}
|
||||
elseif ( $this->extensionList[$token] ?? false ) {
|
||||
return $this->extensionList[$token]->parse($context, $arguments);
|
||||
return $this->extensionList[$token]->parse($context, $arguments, $token);
|
||||
}
|
||||
else {
|
||||
throw new \LogicException("Impossible to find token `$token` declared in `{$matches[2]}`. Perhapse you forgot to add a custom token to Picea's engine ?");
|
||||
@@ -52,7 +52,7 @@ class Compiler
|
||||
|
||||
return $this->sourceCode;
|
||||
}
|
||||
|
||||
|
||||
public function loadSourceCode($html) : self
|
||||
{
|
||||
$this->sourceCode = $html;
|
||||
|
||||
Reference in new issue
Block a user