Enum Class Suggestion.Source

java.lang.Object
java.lang.Enum<Suggestion.Source>
org.ek9lang.compiler.common.Suggestion.Source
All Implemented Interfaces:
Serializable, Comparable<Suggestion.Source>, Constable
Enclosing class:
Suggestion

public static enum Suggestion.Source extends Enum<Suggestion.Source>
Where the suggestion came from. Determines display formatting and ranking ties.
  • Enum Constant Details

    • KEYWORD

      public static final Suggestion.Source KEYWORD
      Match against the EK9 keyword / literal / common-type pool.
    • SYMBOL

      public static final Suggestion.Source SYMBOL
      Match from FuzzySymbolSearch against the symbol table.
  • Method Details

    • values

      public static Suggestion.Source[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Suggestion.Source valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null