class Dhallish::Ast::Literal_Node
Attributes
type[RW]
val[RW]
Public Class Methods
new(val, type)
click to toggle source
# File lib/ast.rb, line 810 def initialize(val, type) @val = val @type = type end
Public Instance Methods
compute_type(ctx)
click to toggle source
# File lib/ast.rb, line 815 def compute_type(ctx) @type end
evaluate(ctx)
click to toggle source
# File lib/ast.rb, line 819 def evaluate(ctx) @val end