Details
-
New Feature
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
Description
This is a request for a new ECL language token that would function within MACRO and FUNCTIONMACRO code.
Proposed symbol: #$
Purpose: At compile-time, the symbol would be replaced by the fully-qualified name of the module that contains the MACRO or FUNCTIONMACRO source code.
Reason: Some MACRO and FUNCTIONMACRO code is written within a module and rely on attributes within that module (its "home module"). However, when MACRO or FUNCTIONMACRO code is referenced it is instantiated in (potentially) a different module or scope. Since file-based modules that serve as stand-alone utility libraries can potentially be located anywhere in a repo, the exact FQN of a MACRO or FUNCTIONMACRO's home module is not always known. The module FQN is known at compile time, however, and this request is to expose that information by replacing a new token (#$) with the module FQN at compile time.