PATH:
home
/
lab2454c
/
tripvare.com
/
vendor
/
nikic
/
php-parser
/
lib
/
PhpParser
/
Node
/
Expr
<?php declare(strict_types=1); namespace PhpParser\Node\Expr; use PhpParser\Node\Expr; class Ternary extends Expr { /** @var Expr Condition */ public $cond; /** @var null|Expr Expression for true */ public $if; /** @var Expr Expression for false */ public $else; /** * Constructs a ternary operator node. * * @param Expr $cond Condition * @param null|Expr $if Expression for true * @param Expr $else Expression for false * @param array $attributes Additional attributes */ public function __construct(Expr $cond, $if, Expr $else, array $attributes = []) { $this->attributes = $attributes; $this->cond = $cond; $this->if = $if; $this->else = $else; } public function getSubNodeNames() : array { return ['cond', 'if', 'else']; } public function getType() : string { return 'Expr_Ternary'; } }
[-] YieldFrom.php
[edit]
[-] Print_.php
[edit]
[-] PreDec.php
[edit]
[-] List_.php
[edit]
[-] ArrowFunction.php
[edit]
[-] Empty_.php
[edit]
[-] AssignRef.php
[edit]
[-] StaticPropertyFetch.php
[edit]
[-] Closure.php
[edit]
[-] FuncCall.php
[edit]
[-] Cast.php
[edit]
[-] UnaryPlus.php
[edit]
[-] ClassConstFetch.php
[edit]
[+]
..
[-] Instanceof_.php
[edit]
[-] Throw_.php
[edit]
[-] Exit_.php
[edit]
[-] ArrayDimFetch.php
[edit]
[-] Assign.php
[edit]
[-] PostInc.php
[edit]
[-] Clone_.php
[edit]
[-] ArrayItem.php
[edit]
[-] Match_.php
[edit]
[-] Include_.php
[edit]
[-] AssignOp.php
[edit]
[+]
Cast
[-] BinaryOp.php
[edit]
[-] PreInc.php
[edit]
[-] New_.php
[edit]
[-] Array_.php
[edit]
[-] StaticCall.php
[edit]
[-] Isset_.php
[edit]
[-] Eval_.php
[edit]
[-] ClosureUse.php
[edit]
[-] MethodCall.php
[edit]
[-] ShellExec.php
[edit]
[-] BitwiseNot.php
[edit]
[-] NullsafeMethodCall.php
[edit]
[+]
BinaryOp
[-] Variable.php
[edit]
[-] PostDec.php
[edit]
[-] UnaryMinus.php
[edit]
[-] NullsafePropertyFetch.php
[edit]
[+]
AssignOp
[-] ConstFetch.php
[edit]
[-] BooleanNot.php
[edit]
[-] Ternary.php
[edit]
[-] PropertyFetch.php
[edit]
[-] ErrorSuppress.php
[edit]
[-] Error.php
[edit]
[-] Yield_.php
[edit]