public function visitBinaryOperationNode(BinaryOperationNode $node) { // Space around operator. $operator = $node->getOperator(); $this->spaceBefore($operator); // @todo The following results in expressions are single line. $this->spaceAfter($operator); }
public function testGetOperator() { $this->assertInstanceOf('Pharborist\\TokenNode', $this->op->getOperator()); $this->assertEquals('=', $this->op->getOperator()->getText()); }