View Source Surface.AST.Expr (surface v0.11.0)
An AST node representing an expression which does not resolve to a value printed out to the final DOM.
properties
Properties
* `:value` - a quoted expression
* `:constant?` - true if the expression can be evaluated at compile time
* `:meta` - compile meta
* `:directives` - directives associated with this expression node
Link to this section Summary
Link to this section Types
@type t() :: %Surface.AST.Expr{ constant?: boolean(), directives: [Surface.AST.Directive.t()], meta: Surface.AST.Meta.t(), value: any() }