oop - Symbol Table scope in compilers for object oriented languages -


i'm building symbol table compiler of subset of c++.

my question here how deal scope in objects. mean, in normal language such pascal should create symbol table every scope. c++ should consider approche case of methods , attrubtes of object?

regards.

i'd object has symbol table every scope methods , attributes, plus table friend class , methods.

it's idea.


Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

c# - Binding attached property to IEnumerable -