Skip to content

How to get the result from an object builder #3353

Answered by bterlson
Bonscho asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Bonscho
Comment options

Answer selected by Bonscho
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants