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

An AST node representing a literal value

Properties

* `:value` - the value
* `:directives` - directives associated with this literal value

Summary

Types

@type t() :: %Surface.AST.Literal{
  directives: [Surface.AST.Directive.t()],
  value: binary() | boolean() | integer() | atom()
}