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

An AST node representing interpolation within a node

properties

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

Link to this section Summary

Link to this section Types

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