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 = 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 = nil, key_expr : Expression | Nil = nil, cond_expr : Expression | Nil = nil, **kwargs) #

[View source]

Instance Method Detail

def coll_expr : HCL::AST::Expression #

[View source]
def cond_expr : HCL::AST::Expression? #

[View source]
def end_tag #

[View source]
def for_type : Symbol #

[View source]
def is_map_type? #

[View source]
def key_expr : HCL::AST::Expression? #

[View source]
def key_name : String? #

[View source]
def start_tag #

[View source]
def value_expr : HCL::AST::Expression #

[View source]
def value_name : String #

[View source]