class HCL::AST::Number

Defined in:

hcl/ast/number.cr

Constructors

Instance Method Summary

Instance methods inherited from class HCL::AST::Node

accept(visitor) accept, evaluate(ctx : ExpressionContext) evaluate, inspect(io) inspect, source : String source, to_s(io : IO) to_s, value(ctx : ExpressionContext) : Any value

Constructor methods inherited from class HCL::AST::Node

new(source : String = "", token : Pegmatite::Token? = nil) new

Instance methods inherited from class Reference

==(other : HCL::Any) ==

Instance methods inherited from class Object

===(other : HCL::Any) ===

Class methods inherited from class Object

from_hcl(string_or_io : String | IO, ctx : HCL::ExpressionContext = HCL::ExpressionContext.default_context) from_hcl

Constructor Detail

def self.new(source : String, token : Pegmatite::Token? = nil) #

def self.new(number : Value, **kwargs) #

Instance Method Detail

def value : Float64 | Int64 #