class TypeProf::Core::AST::LiteralNode::NilNode::TrueNode::FalseNode::IntegerNode::FloatNode::RationalNode::ComplexNode
Public Class Methods
new(raw_node, lenv)
click to toggle source
Calls superclass method
TypeProf::Core::AST::LiteralNode::new
# File typeprof-0.30.1/lib/typeprof/core/ast/value.rb, line 86 def initialize(raw_node, lenv) super(raw_node, lenv, raw_node.slice.to_c) end
Public Instance Methods
install0(genv)
click to toggle source
# File typeprof-0.30.1/lib/typeprof/core/ast/value.rb, line 90 def install0(genv) = Source.new(genv.complex_type) end