Class: Duby::AST::JRubyAst::RootNode

Inherits:
Object
  • Object
show all
Defined in:
lib/duby/transform.rb

Instance Method Summary collapse

Instance Method Details

#getScopeObject



951
952
953
# File 'lib/duby/transform.rb', line 951

def getScope
  getStaticScope
end

#transform(transformer, parent) ⇒ Object



955
956
957
# File 'lib/duby/transform.rb', line 955

def transform(transformer, parent)
  Script.new(parent, position) {|script| [transformer.transform(child_nodes[0], script)]}
end