class TernaryNode extends ExpressionNode

Methods

__construct(ExpressionNode $cond, ExpressionNode|null $if, ExpressionNode|null $else, Position|null $position = null)

No description

string
print(PrintContext $context)

No description

getIterator()

No description

Details

at line 20
__construct(ExpressionNode $cond, ExpressionNode|null $if, ExpressionNode|null $else, Position|null $position = null)

No description

Parameters

ExpressionNode $cond
ExpressionNode|null $if
ExpressionNode|null $else
Position|null $position

at line 29
string print(PrintContext $context)

No description

Parameters

PrintContext $context

Return Value

string

at line 40
Generator getIterator()

No description

Return Value

Generator