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
Post a Comment