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 = nil) #

[View source]

Class Method Detail

def self.default_context #

[View source]

Instance Method Detail

def call_func(name, args) #

[View source]
def functions : Hash(String, HCL::Function) #

[View source]
def lookup_var(name) #

[View source]
def parent : HCL::ExpressionContext? #

[View source]
def variables : Hash(String, HCL::Any) #

[View source]