Class: Jaina::Parser::CodeConverter Private
- Inherits:
-
Object
- Object
- Jaina::Parser::CodeConverter
- Defined in:
- lib/jaina/parser/code_converter.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Classes: ToPostfixForm, ToPrefixForm
Class Method Summary collapse
- .to_postfix_form(program) ⇒ String private
- .to_prefix_form(program) ⇒ String private
Class Method Details
.to_postfix_form(program) ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
15 16 17 |
# File 'lib/jaina/parser/code_converter.rb', line 15 def to_postfix_form(program) ToPostfixForm.call(program) end |
.to_prefix_form(program) ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
24 25 26 |
# File 'lib/jaina/parser/code_converter.rb', line 24 def to_prefix_form(program) ToPrefixForm.call(program) end |