BinaryOpNode
class BinaryOpNode extends ExpressionNode implements OperatorNode
Constants
| private Ops |
|
Methods
__construct(ExpressionNode $left, string $operator, ExpressionNode $right, Position|null $position = null)
No description
static ExpressionNode
nest(string $operator, ExpressionNode ...$exprs)
Creates nested BinaryOp nodes from a list of expressions.
string
array
getOperatorPrecedence()
Returns [precedence, associativity] for this operator.
getIterator()
No description
Details
at line 25
__construct(ExpressionNode $left, string $operator, ExpressionNode $right, Position|null $position = null)
No description
at line 40
static ExpressionNode
nest(string $operator, ExpressionNode ...$exprs)
Creates nested BinaryOp nodes from a list of expressions.
at line 56
string
print(PrintContext $context)
No description
at line 64
array
getOperatorPrecedence()
Returns [precedence, associativity] for this operator.
at line 88
Generator
getIterator()
No description