id | keywords | name | summary | category | |
---|---|---|---|---|---|
file |
| __FILE__ | This is the `__FILE__` special value. | specialvalues |
__FILE__
returns the name of the file currently being parsed by the compiler.
<CodeTab labels={["ReScript", "JS Output"]}>
// testmodule.res__FILE__->Console.log
console.log("testmodule.res");