View Source Surface.AST.Interpolation (surface v0.11.4)

An AST node representing interpolation within a node

Properties

* `:original` - the original text, useful for debugging and error messages
* `:value` - a quoted expression
* `:constant?` - true if the expression can be evaluated at compile time
* `:meta` - compilation meta data
* `:directives` - directives associated with this interpolation

Summary

Types

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