Class: WLang::Compiler::ProcCallRemoval
- Defined in:
- lib/wlang/compiler/proc_call_removal.rb
Instance Method Summary collapse
Methods included from Filter::ClassMethods
Methods included from Filter::InstanceMethods
Instance Method Details
#on_fn(core) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/wlang/compiler/proc_call_removal.rb', line 5 def on_fn(core) if core.first == :static [:arg, core.last] else [:fn, call(core)] end end |