Skip to content

Commit 07d5331

Browse files
committed
Privatizing
1 parent ae06505 commit 07d5331

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/DebugRuntime.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function () use ($expression, $data) {
4040
);
4141
}
4242

43-
public function debugCompiled($expression, $data)
43+
private function debugCompiled($expression, $data)
4444
{
4545
$result = $this->debugCallback(
4646
function () use ($expression, $data) {
@@ -55,7 +55,7 @@ function () use ($expression, $data) {
5555
return $result;
5656
}
5757

58-
public function dumpTokens($expression)
58+
private function dumpTokens($expression)
5959
{
6060
$lexer = new Lexer();
6161
fwrite($this->out, "Tokens\n======\n\n");
@@ -72,15 +72,15 @@ public function dumpTokens($expression)
7272
fwrite($this->out, "\n");
7373
}
7474

75-
public function dumpAst($expression)
75+
private function dumpAst($expression)
7676
{
7777
$parser = new Parser();
7878
$ast = $parser->parse($expression);
7979
fwrite($this->out, "AST\n========\n\n");
8080
fwrite($this->out, json_encode($ast, JSON_PRETTY_PRINT) . "\n");
8181
}
8282

83-
public function dumpCompiledCode($expression)
83+
private function dumpCompiledCode($expression)
8484
{
8585
fwrite($this->out, "Code\n========\n\n");
8686
$dir = sys_get_temp_dir();

0 commit comments

Comments
 (0)