DocsPlaygroundBlogCommunityPackages
  • Playground
  • Blog
  • Community
  • Packages
  • X
  • Bluesky
  • GitHub
  • Forum
Language ManualAPISyntax LookupReact

Syntax Lookup

Enter some language construct you want to know more about.
This is the __LOC__ special value.

__LOC__ returns a string of the location in the file at which you put this very expression. The string format is "File %S, line %d, characters %d-%d"

ReScriptJS Output
__LOC__->Console.log

© 2025 The ReScript Project

About
  • Community
  • ReScript Association
Find us on