Surface.AST.Literal (surface v0.7.0) View Source

An AST node representing a literal value

Properties

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

Link to this section Summary

Link to this section Types

Specs

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