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

Public Class Methods

new(raw_node, lenv, lit = raw_node.slice) click to toggle source
Calls superclass method TypeProf::Core::AST::LiteralNode::new
# File typeprof-0.30.1/lib/typeprof/core/ast/value.rb, line 62
def initialize(raw_node, lenv, lit = raw_node.slice)
  super(raw_node, lenv, Integer(lit))
end

Public Instance Methods

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