Module: Mulang::PHP
- Defined in:
- lib/mulang/php.rb,
lib/mulang/php/sexp.rb,
lib/mulang/php/version.rb,
lib/mulang/php/ast_processor.rb
Defined Under Namespace
Modules: Sexp
Classes: AstProcessor
Constant Summary
collapse
- VERSION =
"0.2.0"
Class Method Summary
collapse
Class Method Details
.language ⇒ Object
12
13
14
|
# File 'lib/mulang/php.rb', line 12
def self.language
Mulang::Language::External.new { |it| parse(it) }
end
|
.parse(php_ast) ⇒ Object
8
9
10
|
# File 'lib/mulang/php.rb', line 8
def self.parse(php_ast)
Mulang::PHP::AstProcessor.new.process_block php_ast
end
|