class HCL::AST::ForExpr

Defined in:

hcl/ast/for_expr.cr

Constant Summary

TYPE_LIST = :list
TYPE_MAP = :map

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(for_type : Symbol, coll_expr : Expression, value_name : Identifier, value_expr : Expression, key_name : Identifier? = nil, key_expr : Expression? = nil, cond_expr : Expression? = nil, **kwargs) #

Instance Method Detail

def coll_expr : HCL::AST::Expression #

def cond_expr : HCL::AST::Expression? #

def end_tag #

def for_type : Symbol #

def is_map_type? #

def key_expr : HCL::AST::Expression? #

def key_name : String? #

def start_tag #

def value_expr : HCL::AST::Expression #

def value_name : String #