class Dhallish::Ast::GetContext

Public Class Methods

new() click to toggle source
# File lib/ast.rb, line 825
def initialize() @typectx = nil end

Public Instance Methods

compute_type(ctx) click to toggle source
# File lib/ast.rb, line 827
def compute_type(ctx)
        @typectx = ctx
        Types::Record.new({})
end
evaluate(ctx) click to toggle source
# File lib/ast.rb, line 832
def evaluate(ctx) { "<#TYPES#>" => @typectx, "<#VALS#>" => ctx } end