#Extracting record from `elixir.hrl`
4 messages · Page 1 of 1 (latest)
But if you are 100% sure that it is what you need, then there is Record.extract/2 (https://hexdocs.pm/elixir/Record.html#extract/2)
But for that you will need Elixir source to be available
Thank you for your quick response. Actually, I want to tokenize some code with a cursor like :erl_scan.tokens/4. I have tried that Record.extract/2 function but elixir does not carry that hrl file with itself. So I don't wanna copy that file to my project or something. I am looking for any other ideas actually.