View Source Surface.AST.SlotEntry (Surface v0.12.0)
An AST node representing a <:slot> entry. This is used to provide content for slots
Properties
* `:name` - the slot entry name
* `:props` - the props for slot entry tag
* `:let` - the `:let` expression
* `:children` - the slot entry children
* `:meta` - compilation meta data
* `:debug` - keyword list indicating when debug information should be printed during compilation
* `:directives` - directives associated with this slot entry
Summary
Types
@type t() :: %Surface.AST.SlotEntry{ children: [Surface.AST.t()], directives: [Surface.AST.Directive.t()], let: Surface.AST.AttributeExpr.t() | nil, meta: Surface.AST.Meta.t(), name: atom(), props: [Surface.AST.Attribute.t() | Surface.AST.DynamicAttribute.t()] }