class HCL::ExpressionContext

Defined in:

hcl/expression_context.cr

Constant Summary

DEFAULT_FUNCTIONS = [Functions::Abs, Functions::Coalesce, Functions::Compact, Functions::Concat, Functions::Format, Functions::HasIndex, Functions::Int, Functions::JSONDecode, Functions::JSONEncode, Functions::Length, Functions::Lower, Functions::Max, Functions::Min, Functions::SetHas, Functions::SetIntersection, Functions::SetSubtract, Functions::SetSymDiff, Functions::SetUnion, Functions::Strlen, Functions::Substr, Functions::Upper]

Constructors

Class Method Summary

Instance Method Summary

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(parent : ExpressionContext? = nil) #

Class Method Detail

def self.default_context #

Instance Method Detail

def call_func(name, args) #

def functions : Hash(String, HCL::Function) #

def lookup_var(name) #

def parent : HCL::ExpressionContext? #

def variables : Hash(String, HCL::Any) #