mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-30 04:29:15 +01:00
Fix typo Expr_ErrorSupress -> Expr_ErrorSuppress
This commit is contained in:
parent
8294ceb754
commit
4006e55951
@ -516,7 +516,7 @@ expr:
|
||||
| T_BOOL_CAST expr { $$ = new Node_Expr_BoolCast(array('expr' => $2)); }
|
||||
| T_UNSET_CAST expr { $$ = new Node_Expr_UnsetCast(array('expr' => $2)); }
|
||||
| T_EXIT exit_expr { $$ = new Node_Expr_Exit(array('expr' => $2)); }
|
||||
| '@' expr { $$ = new Node_Expr_ErrorSupress(array('expr' => $2)); }
|
||||
| '@' expr { $$ = new Node_Expr_ErrorSuppress(array('expr' => $2)); }
|
||||
| scalar { $$ = $1; }
|
||||
| T_ARRAY '(' array_pair_list ')' { $$ = new Node_Expr_Array(array('items' => $3)); }
|
||||
| '`' backticks_expr '`' { $$ = new Node_Expr_ShellExec(array('parts' => $2)); }
|
||||
|
@ -516,7 +516,7 @@ expr:
|
||||
| T_BOOL_CAST expr { $$ = Expr_BoolCast[expr: $2]; }
|
||||
| T_UNSET_CAST expr { $$ = Expr_UnsetCast[expr: $2]; }
|
||||
| T_EXIT exit_expr { $$ = Expr_Exit[expr: $2]; }
|
||||
| '@' expr { $$ = Expr_ErrorSupress[expr: $2]; }
|
||||
| '@' expr { $$ = Expr_ErrorSuppress[expr: $2]; }
|
||||
| scalar { $$ = $1; }
|
||||
| T_ARRAY '(' array_pair_list ')' { $$ = Expr_Array[items: $3]; }
|
||||
| '`' backticks_expr '`' { $$ = Expr_ShellExec[parts: $2]; }
|
||||
|
@ -3,6 +3,6 @@
|
||||
/**
|
||||
* @property Node_Expr $expr Expression
|
||||
*/
|
||||
class Node_Expr_ErrorSupress extends Node_Expr
|
||||
class Node_Expr_ErrorSuppress extends Node_Expr
|
||||
{
|
||||
}
|
@ -1938,7 +1938,7 @@ class Parser
|
||||
}
|
||||
|
||||
private function yyn228() {
|
||||
$this->yyval = new Node_Expr_ErrorSupress(array('expr' => $this->yyastk[$this->yysp-(2-2)]));
|
||||
$this->yyval = new Node_Expr_ErrorSuppress(array('expr' => $this->yyastk[$this->yysp-(2-2)]));
|
||||
}
|
||||
|
||||
private function yyn229() {
|
||||
|
@ -2340,7 +2340,7 @@ class ParserDebug
|
||||
}
|
||||
|
||||
private function yyn228() {
|
||||
$this->yyval = new Node_Expr_ErrorSupress(array('expr' => $this->yyastk[$this->yysp-(2-2)]));
|
||||
$this->yyval = new Node_Expr_ErrorSuppress(array('expr' => $this->yyastk[$this->yysp-(2-2)]));
|
||||
}
|
||||
|
||||
private function yyn229() {
|
||||
|
@ -275,7 +275,7 @@ class PrettyPrinter_Zend extends PrettyPrinterAbstract
|
||||
return $this->p($node->var) . '--';
|
||||
}
|
||||
|
||||
public function pExpr_ErrorSupress(Node_Expr_ErrorSupress $node) {
|
||||
public function pExpr_ErrorSuppress(Node_Expr_ErrorSuppress $node) {
|
||||
return '@' . $this->p($node->expr);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user