Hecr::Compiler::AST::Element
Constructors
new(name : String, attrs : Array(Hecr::Compiler::TagAttr), children : Array(Node), closing : Hecr::Compiler::Closing, if_expr : Hecr::Compiler::ExprValue | Nil, for_expr : ForExpr | Nil, key_expr : Hecr::Compiler::ExprValue | Nil, class_attr : Hecr::Compiler::Attr | Nil, loc : Hecr::Compiler::Loc)
SourceInstance methods
attrs
children
class_attr
clone
Sourceclosing
copy_with(name _name = @name, attrs _attrs = @attrs, children _children = @children, closing _closing = @closing, if_expr _if_expr = @if_expr, for_expr _for_expr = @for_expr, key_expr _key_expr = @key_expr, class_attr _class_attr = @class_attr, loc _loc = @loc)
Sourcefor_expr
if_expr
key_expr
loc
name