Hi, the function exprId() of the token class is to return an int value used as the key for getting the ValueFlow::Value stored by the ProgramMemory. Not all the tokens have a exprId. What kind of the token has an exprId? Why not we just use the Token as the key for the map of the values?
Thanks a lot!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, the function exprId() of the token class is to return an int value used as the key for getting the ValueFlow::Value stored by the ProgramMemory. Not all the tokens have a exprId. What kind of the token has an exprId? Why not we just use the Token as the key for the map of the values?
Thanks a lot!