Class GeneratedParserUtilBase.CompletionState

java.lang.Object
org.intellij.grammar.parser.GeneratedParserUtilBase.CompletionState
All Implemented Interfaces:
com.intellij.util.Function<Object,String>
Enclosing class:
GeneratedParserUtilBase

public static class GeneratedParserUtilBase.CompletionState extends Object implements com.intellij.util.Function<Object,String>
  • Field Details

    • offset

      public final int offset
    • items

      public final Collection<String> items
  • Constructor Details

    • CompletionState

      public CompletionState(int offset_)
  • Method Details

    • convertItem

      @Nullable public @Nullable String convertItem(Object o)
    • fun

      public String fun(Object o)
      Specified by:
      fun in interface com.intellij.util.Function<Object,String>
    • addItem

      public void addItem(@NotNull @NotNull com.intellij.lang.PsiBuilder builder, @NotNull @NotNull String text)
    • prefixMatches

      public boolean prefixMatches(@NotNull @NotNull com.intellij.lang.PsiBuilder builder, @NotNull @NotNull String text)
    • prefixMatches

      public boolean prefixMatches(@NotNull @NotNull String prefix, @NotNull @NotNull String variant)