Lines Matching refs:code
41 $code = file_get_contents('php://stdin'); variable
44 $code = $file; variable
45 fwrite(STDERR, "====> Code $code\n");
52 $code = file_get_contents($file); variable
58 $stmts = $parser->parse($code, $errorHandler);
60 $message = formatErrorMessage($error, $code, $attributes['with-column-info']);
68 $stmts = $parser->parse($code);
70 $message = formatErrorMessage($error, $code, $attributes['with-column-info']);
79 echo $dumper->dump($stmts, $code), "\n";
96 function formatErrorMessage(PhpParser\Error $e, $code, $withColumnInfo) { argument
98 return $e->getMessageWithColumnInfo($code);