class UnaryOpNode extends ExpressionNode implements OperatorNode

Constants

private Ops

Methods

__construct(ExpressionNode $expr, string $operator, Position|null $position = null)

No description

string
print(PrintContext $context)

No description

array
getOperatorPrecedence()

Returns [precedence, associativity] for this operator.

getIterator()

No description

Details

at line 23
__construct(ExpressionNode $expr, string $operator, Position|null $position = null)

No description

Parameters

ExpressionNode $expr
string $operator
Position|null $position

at line 34
string print(PrintContext $context)

No description

Parameters

PrintContext $context

Return Value

string

at line 41
array getOperatorPrecedence()

Returns [precedence, associativity] for this operator.

Return Value

array

at line 50
Generator getIterator()

No description

Return Value

Generator