class TypeProf::Core::AST::StatementsNode::MultiWriteNode::MultiTargetNode::MatchWriteNode::DefinedNode::SplatNode::ForNode::FlipFlopNode
Attributes
Public Class Methods
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/ast/misc.rb, line 286 def initialize(raw_node, lenv) super(raw_node, lenv) @e1 = AST.create_node(raw_node.left, lenv) @e2 = AST.create_node(raw_node.right, lenv) end
Calls superclass method
TypeProf::Core::AST::Node::new
Public Instance Methods
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/ast/misc.rb, line 296 def install0(genv) @e1.install(genv) @e2.install(genv) Source.new(genv.true_type, genv.false_type) end
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/ast/misc.rb, line 294 def subnodes = { e1:, e2: } def install0(genv) @e1.install(genv) @e2.install(genv) Source.new(genv.true_type, genv.false_type) end end