class TypeProf::Core::AST::StatementsNode::MultiWriteNode::MatchWriteNode::DefinedNode
Attributes
arg[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/misc.rb, line 147 def initialize(raw_node, lenv) super(raw_node, lenv) @arg = AST.create_node(raw_node.value, lenv) end
Public Instance Methods
install0(genv)
click to toggle source
# File typeprof-0.30.1/lib/typeprof/core/ast/misc.rb, line 156 def install0(genv) Source.new(genv.true_type, genv.false_type) end
subnodes(= {})
click to toggle source
# File typeprof-0.30.1/lib/typeprof/core/ast/misc.rb, line 154 def subnodes = {} # no arg! def install0(genv) Source.new(genv.true_type, genv.false_type) end end