- Modernized code a bit and added variables to blocks
This commit is contained in:
1 parent
722131d801
commit
778f84116b
12 files changed
+146
-52
No files matched your search
@@ -6,36 +6,6 @@ use Picea\Compiler;
|
||||
|
||||
abstract class Context {
|
||||
|
||||
public string $namespace = "";
|
||||
|
||||
public string $extendFrom = "";
|
||||
|
||||
public string $className = "";
|
||||
|
||||
public string $compiledSource = "";
|
||||
|
||||
public ? string $sectionAction = null;
|
||||
|
||||
public string $viewPath = "";
|
||||
|
||||
public string $filePath = "";
|
||||
|
||||
public string $classPath = "";
|
||||
|
||||
public array $switchStack = [];
|
||||
|
||||
public array $iterationStack = [];
|
||||
|
||||
public array $useStack = [];
|
||||
|
||||
public array $sections = [];
|
||||
|
||||
public int $functions = 0;
|
||||
|
||||
public array $functionStack = [];
|
||||
|
||||
public array $hooks = [];
|
||||
|
||||
public Compiler $compiler;
|
||||
|
||||
public function hook(string $path, Callable $callback) : self
|
||||
|
||||
Reference in new issue
Block a user