In the elixir, we have Pseudo-Variables __MODULE__, __DIR__et al. Erlang also has a function to get the current line using the erlang macro.
__MODULE__
__DIR__
How to get the current line of a file in elixir.
Sort of
IO.puts __LINE__
Everything inside __ENV__:
__ENV__
IO.puts __ENV__.file IO.puts __ENV__.line
Also see http://elixir-lang.org/docs/stable/elixir/Macro.Env.html
Source: https://habr.com/ru/post/1609471/More articles:Error integrating payUMoney in nodejs - javascripthttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1609467/how-can-i-add-jpegs-to-an-asset-catalog-in-xcode&usg=ALkJrhjuv2EEp6aPmOGON5qzRvEga4eEKQWhy are the sizes of updates / patches for Android applications similar to settings files? - androidLogin failed after upgrading to iOS9 - iosThinning an application without @ 3x images and when some images are jpg - iosIs it possible to parameterize string formatting using variables? - stringHow to reuse connections in node -resque? - javascriptChange primary language in new iTunes Connect - itunesconnectCompass Inline Image Syntax / Configuration - cssHow can I use the compass inline image helper with an image url that is not relative? - cssAll Articles