class TypeProf::Core::AST::LiteralNode::NilNode::TrueNode::FalseNode::IntegerNode::FloatNode

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 70
def initialize(raw_node, lenv)
  super(raw_node, lenv, Float(raw_node.slice))
end

Public Instance Methods

install0(genv) click to toggle source
# File typeprof-0.30.1/lib/typeprof/core/ast/value.rb, line 74
  def install0(genv) = Source.new(genv.float_type)
end