Class: Duby::AST::JRubyAst::ClassNode
- Inherits:
-
Object
- Object
- Duby::AST::JRubyAst::ClassNode
- Defined in:
- lib/duby/transform.rb
Instance Method Summary collapse
Instance Method Details
#transform(transformer, parent) ⇒ Object
362 363 364 365 366 367 368 369 370 371 |
# File 'lib/duby/transform.rb', line 362 def transform(transformer, parent) ClassDefinition.new(parent, position, cpath.name, transformer.annotations) do |class_def| [ super_node ? super_node.type_reference(class_def) : nil, body_node ? transformer.transform(body_node, class_def) : nil ] end end |