Interface SymbolModel

  • All Known Implementing Classes:
    SymbolModelImpl

    @Beta
    public interface SymbolModel
    • Method Detail

      • getSymbols

        Set<Symbol> getSymbols()
        Returns all symbols in script
      • getSymbols

        Set<Symbol> getSymbols​(Symbol.Kind kind)
        Parameters:
        kind - kind of symbols to look for
        Returns:
        list of symbols with the given kind
      • getSymbols

        Set<Symbol> getSymbols​(String name)
        Parameters:
        name - name of symbols to look for
        Returns:
        list of symbols with the given name
      • getScope

        @Nullable
        Scope getScope​(Tree tree)
        Parameters:
        tree -
        Returns:
        scope corresponding to this tree. Returns Null if no scope found