Class: PHP::Operator::Execution

Inherits:
PHP::Operator::Unary show all
Defined in:
lib/php/syntax/operator.rb

Overview

See Also:

Instance Method Summary

Methods inherited from PHP::Operator::Unary

#initialize, #operands

Methods inherited from PHP::Operator

for, #operands, #operator, #to_a

Methods inherited from PHP::Node

#<<, #<=>, #children?, #each, #indent, #indent=, #initialize, #to_s

Constructor Details

This class inherits a constructor from PHP::Operator::Unary

Instance Method Details

- (String) to_php

Returns the PHP representation of this operation.

Returns:



264
265
266
# File 'lib/php/syntax/operator.rb', line 264

def to_php
  "`#{operand}`"
end