class TypeProf::Core::AST::LiteralNode

Attributes

lit[R]

Public Class Methods

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

Public Instance Methods

attrs(= { lit: }) click to toggle source
# File typeprof-0.30.1/lib/typeprof/core/ast/value.rb, line 30
  def attrs = { lit: }

  def install0(genv)
    raise "not supported yet: #{ @lit.inspect }"
  end
end
install0(genv) click to toggle source
# File typeprof-0.30.1/lib/typeprof/core/ast/value.rb, line 32
def install0(genv)
  raise "not supported yet: #{ @lit.inspect }"
end