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

An AST node representing an attribute expression (i.e. a dynamic value for an attribute, directive, or property)

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

Link to this section Summary

Link to this section Types

@type t() :: %Surface.AST.AttributeExpr{
  constant?: boolean(),
  meta: Surface.AST.Meta.t(),
  original: binary(),
  value: any()
}

Link to this section Functions

Link to this function

new(expr, original, meta)

View Source