parameters: (self)
return_statement: return self._all_paths[self._all_paths.index(self.main_path):]
docstring: Returns the current stack of pushed sources.
docstring_summary: Returns the current stack of pushed sources.
docstring_tokens: Returns the current stack of pushed sources .
function: def source_stack(self):
          """Returns the current stack of pushed sources."""
          if not self.current_path:
              return []
          return self._all_paths[self._all_paths.index(self.main_path):]
function_tokens: def source_stack ( self ) : if not self . current_path : return [ ] return self . _all_paths [ self . _all_paths . index ( self . main_path ) : ]