Home
last modified time | relevance | path

Searched refs:e (Results 1 – 25 of 45) sorted by relevance

12

/PHP-Parser/test/code/prettyPrinter/stmt/
H A DtryCatch.test7 } catch (Exception $e) {
12 } catch (Exception $e) {
19 } catch (Exception $e) {
22 } catch (Exception $e) {
H A Dthrow.test5 throw $e;
7 throw $e;
H A Dproperties.test11 public readonly int|float $e;
20 public readonly int|float $e;
H A Dasymmetric_visibility.test12 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 DlistRemoval.test118 } 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 DrewriteVariableInterpolationString.test4 "{$e}";
9 "{$e}";
/PHP-Parser/doc/component/
H A DError_handling.markdown13 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 DConstant_expression_evaluation.markdown25 } 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 DflexibleDocString.test32 e
40 e
53 e
63 e\n
163 e
180 e
196 e
220 e
H A DconstantString.test16 "!\"!\\!\$!\n!\r!\t!\f!\v!\e!\a";
78 !@@{ "\r" }@@!@@{ "\t" }@@!@@{ "\f" }@@!@@{ "\v" }@@!@@{ chr(27) /* "\e" */ }@@!\a
H A Dfloat.test10 0e+0;
11 0e-0;
/PHP-Parser/test/PhpParser/
H A DErrorTest.php82 } 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 DCodeParsingTest.php57 private function formatErrorMessage(Error $e, $code) { argument
58 if ($e->hasColumnInfo()) {
59 return $e->getMessageWithColumnInfo($code);
62 return $e->getMessage();
H A DConstExprEvaluatorTest.php106 } catch (ConstExprEvaluationException $e) {
109 $e->getMessage()
112 $prev = $e->getPrevious();
/PHP-Parser/test_old/
H A Drun.php224 } 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 DcontrolFlow.test14 throw $e;
47 name: e
/PHP-Parser/test/code/parser/expr/
H A DternaryAndCoalesce.test10 $a ? $b : $c ? $d : $e;
11 $a ? $b : ($c ? $d : $e);
64 name: e
87 name: e
H A DlistWithKeys.test6 list('a' => list($b => $c), 'd' => $e) = $x;
71 name: e
/PHP-Parser/test/code/parser/stmt/function/
H A DspecialVars.test7 static $c, $d = 'e';
52 value: e
/PHP-Parser/test/code/parser/stmt/class/
H A Dtrait.test14 e as private;
19 E::d as e;
98 name: e
155 name: e
H A Dsimple.test9 protected $e;
16 private function e() {}
97 name: e
199 name: e
/PHP-Parser/bin/
H A Dphp-parse96 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 Dfor.test9 for ($a, $b; $c, $d; $e, $f) {}
72 name: e
/PHP-Parser/test/code/prettyPrinter/expr/
H A Dparentheses.test19 $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 DConstExprEvaluator.php73 } 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;

Completed in 35 milliseconds

12