class TypeProf::Core::AST::DefNode::AliasNode::UndefNode
Attributes
names[R]
Public Class Methods
new(raw_node, lenv)
click to toggle source
Calls superclass method
TypeProf::Core::AST::Node::new
# File typeprof-0.30.1/lib/typeprof/core/ast/method.rb, line 320 def initialize(raw_node, lenv) super(raw_node, lenv) @names = raw_node.names.map do |raw_name| AST.create_node(raw_name, lenv) end end
Public Instance Methods
install0(genv)
click to toggle source
# File typeprof-0.30.1/lib/typeprof/core/ast/method.rb, line 331 def install0(genv) @names.each do |name| name.install(genv) end Source.new(genv.nil_type) end
subnodes(= { names: })
click to toggle source
# File typeprof-0.30.1/lib/typeprof/core/ast/method.rb, line 329 def subnodes = { names: } def install0(genv) @names.each do |name| name.install(genv) end Source.new(genv.nil_type) end end