![]() |
|
Navigation |
Synopsis Filter a symboltree based on offset location.
Function
SymbolTree filterScopeByPosition(SymbolTree tree, int offset)
Usage
import util::ContentCompletion;
Description Filters a symboltree by removing scope children if they are not visible from the offset location.
Annonymous scopes will be emptied and scopes with scopesymbols will be replaced by the scopesymbol, removing the children.
Remember to set the @location annotation on ALL symbols in the tree.
![]() |