View Source Surface.AST.Expr (Surface v0.12.0)

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

Summary

Types

@type t() :: %Surface.AST.Expr{
  constant?: boolean(),
  directives: [Surface.AST.Directive.t()],
  meta: Surface.AST.Meta.t(),
  value: any()
}