abstract class HCL::Function

Direct Known Subclasses

Defined in:

hcl/function.cr

Constant Summary

ARG_MAX = 100_u32

Constructors

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(name : String, arity : UInt32 | Range(UInt32, UInt32), varadic : Bool = false) #

[View source]

Instance Method Detail

def arity : Range(UInt32, UInt32) | UInt32 #

[View source]
abstract def call(args : Array(Any)) : Any #

[View source]
def matches_arity?(args_size : Range(UInt32, UInt32)) : Bool #

[View source]
def matches_arity?(args_size) : Bool #

[View source]
def name : String #

[View source]
def varadic? : Bool #

[View source]