You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Excuse the amateurish question, but how could I fetch the value of variables I have declared within the source code of the ParseState-parameter of "ParseStatement"?
For example, if I run "ParseStatement" using my ParseState I have prepared with int x = 5; as a parameter of "LexInitParser", how could I get my hands on the value of x within the scope where I run ParseStatement?
I have tried iterating through pc->GlobalHashTable and pc->StringHashTable and searched my variable by checking entry->p.v.Key and entry->p.v.Val but couldn't find it.
Many thanks in advance.
The text was updated successfully, but these errors were encountered:
Excuse the amateurish question, but how could I fetch the value of variables I have declared within the source code of the ParseState-parameter of "ParseStatement"?
For example, if I run "ParseStatement" using my ParseState I have prepared with
int x = 5;
as a parameter of "LexInitParser", how could I get my hands on the value of x within the scope where I run ParseStatement?I have tried iterating through
pc->GlobalHashTable
andpc->StringHashTable
and searched my variable by checkingentry->p.v.Key
andentry->p.v.Val
but couldn't find it.Many thanks in advance.
The text was updated successfully, but these errors were encountered: