Surface.AST.Expr (surface v0.6.1) View Source
An AST node representing an expression which does not resolve to a value printed out to the final DOM.
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
Specs
t() :: %Surface.AST.Expr{
constant?: boolean(),
directives: [Surface.AST.Directive.t()],
meta: Surface.AST.Meta.t(),
value: any()
}