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

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

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

Summary

Types

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

Functions

Link to this function

new(expr, original, meta)

View Source