Class: Duby::AST::JRubyAst::ConstNode

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

Instance Method Summary collapse

Instance Method Details

#transform(transformer, parent) ⇒ Object



530
531
532
# File 'lib/duby/transform.rb', line 530

def transform(transformer, parent)
  Constant.new(parent, position, name)
end

#type_reference(parent) ⇒ Object



534
535
536
# File 'lib/duby/transform.rb', line 534

def type_reference(parent)
  AST::type(name, false, false)
end