-
Guys, I am new to all this. I just implemented my first custom emitter which is a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
All of the declarations are pushed into a scope depending on which scope is set in the emitter context. Usually this is just your source file's global scope unless you're doing anything fancy. So check your source file's The docs aren't super clear here, sorry. You could potentially find this example from a test case helpful though. |
Beta Was this translation helpful? Give feedback.
All of the declarations are pushed into a scope depending on which scope is set in the emitter context. Usually this is just your source file's global scope unless you're doing anything fancy. So check your source file's
globalScope.declarations
array.The docs aren't super clear here, sorry. You could potentially find this example from a test case helpful though.