lib/ruby2js.rb in ruby2js-3.0.2 vs lib/ruby2js.rb in ruby2js-3.0.3
- old
+ new
@@ -82,17 +82,19 @@
replacement
ensure
@ast = ast
end
- # handle all of the 'invented' ast types
+ # handle all of the 'invented/synthetic' ast types
def on_async(node); on_def(node); end
def on_asyncs(node); on_defs(node); end
def on_attr(node); on_send(node); end
def on_autoreturn(node); on_return(node); end
def on_await(node); on_send(node); end
def on_call(node); on_send(node); end
+ def on_class_extend(node); on_send(node); end
def on_constructor(node); on_def(node); end
+ def on_defm(node); on_defs(node); end
def on_defp(node); on_defs(node); end
def on_for_of(node); on_for(node); end
def on_in?(node); on_send(node); end
def on_method(node); on_send(node); end
def on_prop(node); on_array(node); end