Search in sources :

Example 11 with Modular

use of org.elixir_lang.structure_view.element.modular.Modular in project intellij-elixir by KronicDeth.

the class GotoSymbolContributor method getItemsFromModule.

private void getItemsFromModule(@NotNull List<NavigationItem> items, @NotNull EnclosingModularByCall enclosingModularByCall, @NotNull Call call) {
    Modular modular = enclosingModularByCall.putNew(call);
    Module module = new Module(modular, call);
    items.add(module);
}
Also used : Modular(org.elixir_lang.structure_view.element.modular.Modular) Module(org.elixir_lang.structure_view.element.modular.Module)

Aggregations

Modular (org.elixir_lang.structure_view.element.modular.Modular)11 Nullable (org.jetbrains.annotations.Nullable)3 IntRange (org.apache.commons.lang.math.IntRange)2 TreeElement (com.intellij.ide.util.treeView.smartTree.TreeElement)1 AtUnqualifiedNoParenthesesCall (org.elixir_lang.psi.AtUnqualifiedNoParenthesesCall)1 Call (org.elixir_lang.psi.call.Call)1 Implementation (org.elixir_lang.structure_view.element.modular.Implementation)1 Module (org.elixir_lang.structure_view.element.modular.Module)1 Protocol (org.elixir_lang.structure_view.element.modular.Protocol)1 NotNull (org.jetbrains.annotations.NotNull)1