Dogma v0.1.4 Dogma.Util.AST

Utility functions for analyzing and categorizing AST nodes

Summary

Functions

Returns true if the node x is a literal

Functions

literal?(x)

Returns true if the node x is a literal

Examples:

iex> Dogma.Util.AST.literal?( "foo" )
true

iex> Dogma.Util.AST.literal?({:foo, [], Elixir})
false