/PHP-Parser/test/code/prettyPrinter/stmt/ |
H A D | tryCatch.test | 7 } catch (Exception $e) { 12 } catch (Exception $e) { 19 } catch (Exception $e) { 22 } catch (Exception $e) {
|
H A D | throw.test | 5 throw $e; 7 throw $e;
|
H A D | properties.test | 11 public readonly int|float $e; 20 public readonly int|float $e;
|
H A D | asymmetric_visibility.test | 12 private public(set) $e, 22 … public function __construct(protected private(set) $d, private public(set) $e, protected(set) $f)
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | listRemoval.test | 118 } catch (\Exception $e) { 120 } catch (\LogicException $e) { 122 } catch (\Throwable $e) { 137 } catch (\LogicException $e) { 139 } catch (\Exception $e) { 141 } catch (\Throwable $e) { 151 } catch (\Exception $e) { 153 } catch (\LogicException $e) { 155 } catch (\Throwable $e) { 168 } catch (\Exception $e) { [all …]
|
H A D | rewriteVariableInterpolationString.test | 4 "{$e}"; 9 "{$e}";
|
/PHP-Parser/doc/component/ |
H A D | Error_handling.markdown | 13 Before using column information, its availability needs to be checked with `$e->hasColumnInfo()`, a… 18 if ($e->hasColumnInfo()) { 19 echo $e->getRawMessage() . ' from ' . $e->getStartLine() . ':' . $e->getStartColumn($code) 20 . ' to ' . $e->getEndLine() . ':' . $e->getEndColumn($code); 22 echo $e->getMessageWithColumnInfo($code); 24 echo $e->getMessage();
|
H A D | Constant_expression_evaluation.markdown | 25 } catch (ConstExprEvaluationException $e) { 55 } catch (ConstExprEvaluationException $e) { 56 var_dump($e->getPrevious()->getMessage()); // Division by zero 102 } catch (ConstExprEvaluationException $e) {
|
/PHP-Parser/test/code/parser/scalar/ |
H A D | flexibleDocString.test | 32 e 40 e 53 e 63 e\n 163 e 180 e 196 e 220 e
|
H A D | constantString.test | 16 "!\"!\\!\$!\n!\r!\t!\f!\v!\e!\a"; 78 !@@{ "\r" }@@!@@{ "\t" }@@!@@{ "\f" }@@!@@{ "\v" }@@!@@{ chr(27) /* "\e" */ }@@!\a
|
H A D | float.test | 10 0e+0; 11 0e-0;
|
/PHP-Parser/test/PhpParser/ |
H A D | ErrorTest.php | 82 } catch (\RuntimeException $e) { 83 $this->assertSame('Error does not have column information', $e->getMessage()); 88 } catch (\RuntimeException $e) { 89 $this->assertSame('Error does not have column information', $e->getMessage());
|
H A D | CodeParsingTest.php | 57 private function formatErrorMessage(Error $e, $code) { argument 58 if ($e->hasColumnInfo()) { 59 return $e->getMessageWithColumnInfo($code); 62 return $e->getMessage();
|
H A D | ConstExprEvaluatorTest.php | 106 } catch (ConstExprEvaluationException $e) { 109 $e->getMessage() 112 $prev = $e->getPrevious();
|
/PHP-Parser/test_old/ |
H A D | run.php | 224 } catch (PhpParser\Error $e) { 225 echo $file, ":\n Parse of pretty print failed with message: {$e->getMessage()}\n"; 232 } catch (PhpParser\Error $e) { 233 echo $file, ":\n Parse failed with message: {$e->getMessage()}\n"; 236 } catch (Throwable $e) { 237 echo $file, ":\n Unknown error occurred: $e\n";
|
/PHP-Parser/test/code/parser/stmt/ |
H A D | controlFlow.test | 14 throw $e; 47 name: e
|
/PHP-Parser/test/code/parser/expr/ |
H A D | ternaryAndCoalesce.test | 10 $a ? $b : $c ? $d : $e; 11 $a ? $b : ($c ? $d : $e); 64 name: e 87 name: e
|
H A D | listWithKeys.test | 6 list('a' => list($b => $c), 'd' => $e) = $x; 71 name: e
|
/PHP-Parser/test/code/parser/stmt/function/ |
H A D | specialVars.test | 7 static $c, $d = 'e'; 52 value: e
|
/PHP-Parser/test/code/parser/stmt/class/ |
H A D | trait.test | 14 e as private; 19 E::d as e; 98 name: e 155 name: e
|
H A D | simple.test | 9 protected $e; 16 private function e() {} 97 name: e 199 name: e
|
/PHP-Parser/bin/ |
H A D | php-parse | 96 function formatErrorMessage(PhpParser\Error $e, $code, $withColumnInfo) { argument 97 if ($withColumnInfo && $e->hasColumnInfo()) { 98 return $e->getMessageWithColumnInfo($code); 100 return $e->getMessage();
|
/PHP-Parser/test/code/parser/stmt/loop/ |
H A D | for.test | 9 for ($a, $b; $c, $d; $e, $f) {} 72 name: e
|
/PHP-Parser/test/code/prettyPrinter/expr/ |
H A D | parentheses.test | 19 $a ? $b : $c ? $d : $e ? $f : $g; 20 $a ? $b : ($c ? $d : ($e ? $f : $g)); 74 (($a ? $b : $c) ? $d : $e) ? $f : $g; 75 $a ? $b : ($c ? $d : ($e ? $f : $g));
|
/PHP-Parser/lib/PhpParser/ |
H A D | ConstExprEvaluator.php | 73 } catch (\Throwable $e) { 74 if (!$e instanceof ConstExprEvaluationException) { 75 $e = new ConstExprEvaluationException( 76 "An error occurred during constant expression evaluation", 0, $e); 78 throw $e;
|