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

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()
}