Class: PHP::Statement

Inherits:
PHP::Expression show all
Defined in:
lib/php/syntax/statement.rb

Overview

See Also:

Instance Method Summary

Methods inherited from PHP::Node

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

Constructor Details

This class inherits a constructor from PHP::Node

Instance Method Details

- (String) to_php

Returns the PHP representation of this statement.

Returns:

  • (String)


9
10
11
# File 'lib/php/syntax/statement.rb', line 9

def to_php
  "#{super};"
end