class TypeProf::Core::AST::LiteralNode::NilNode::TrueNode::FalseNode::IntegerNode::FloatNode::RationalNode::ComplexNode::SymbolNode::InterpolatedSymbolNode
Attributes
Public Class Methods
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/ast/value.rb, line 102 def initialize(raw_node, lenv) super(raw_node, lenv) @parts = raw_node.parts.map do |raw_part| AST.create_part_node(raw_part, lenv) end end
Calls superclass method
TypeProf::Core::AST::Node::new
Public Instance Methods
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/ast/value.rb, line 113 def install0(genv) @parts.each do |subnode| subnode.install(genv) end Source.new(genv.symbol_type) end
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/ast/value.rb, line 111 def subnodes = { parts: } def install0(genv) @parts.each do |subnode| subnode.install(genv) end Source.new(genv.symbol_type) end end