Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
t81lal committed May 6, 2024
1 parent 5e7514b commit c84cf7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Binary file modified docs/imgs/astmods2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions docs/source/getstarted/scopes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ Unqualified
.. note:: The ``get_symbol_link`` function will be shown later

*What does ``res_syms`` do? Why not just return the symbols found in the scope?*
*What does res_syms do? Why not just return the symbols found in the scope?*

This is because SOLP has different types of symbols: some are actual symbols based on elements in the real source code
``res_syms`` resolves symbolic links in the symbol table to their underlying symbols. This is because SOLP has different
types of symbols: some are actual symbols based on elements in the real source code
and some are created because of *links* created from inherits and imports or using statements. Since we want to locate
source code elements, we need to get the underlying symbol(s).

Expand Down

0 comments on commit c84cf7b

Please sign in to comment.