Interface AutoCompletions.CompletionTokenizer

Enclosing class:
AutoCompletions

public static interface AutoCompletions.CompletionTokenizer
Functional interface to extract a token from a string needed to determine a completion. For example, given the string var pathObject = PathObjects.crea the token would be "PathObjects.crea".
  • Method Summary

    Modifier and Type
    Method
    Description
    getToken(String text, int pos)
    Get the token needed for the completion.
  • Method Details

    • getToken

      String getToken(String text, int pos)
      Get the token needed for the completion.
      Parameters:
      text -
      pos -
      Returns: