Surface.AST.Interpolation (surface v0.6.1) View Source
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
Link to this section Summary
Link to this section Types
Specs
t() :: %Surface.AST.Interpolation{
constant?: boolean(),
directives: [Surface.AST.Directive.t()],
meta: Surface.AST.Meta.t(),
original: binary(),
value: any()
}