def get_scope_list(self) -> list:
<EOL>lstparent = [self]<EOL>p = self.get_parent()<EOL>while p is not None:<EOL><INDENT>lstparent.append(p)<EOL>p = p.get_parent()<EOL><DEDENT>return lstparent<EOL>
Return the list of all contained scope from global to local