Class PlaceholderParser

java.lang.Object
org.kingdoms.locale.compiler.placeholders.PlaceholderParser

public final class PlaceholderParser extends Object
  • Method Details

    • getPhase

      public PlaceholderParser.Phase getPhase()
    • getEndIndex

      public int getEndIndex()
    • getFullString

      public String getFullString()
    • parse

      @Nullable public static org.kingdoms.locale.compiler.placeholders.Placeholder parse(String fullPlaceholder)
    • parse

      @Nullable public static org.kingdoms.locale.compiler.placeholders.Placeholder parse(String fullPlaceholder, boolean assumeKingdomsId)
    • parse

      @Nullable public static PlaceholderParser parse(int start, char[] chars, boolean lookForClosure)
    • collectSeparatedStrings

      public String collectSeparatedStrings()
    • collectModifiers

      public void collectModifiers()
    • getPlaceholder

      public org.kingdoms.locale.compiler.placeholders.Placeholder getPlaceholder()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • serializeVariables

      @Nullable public static Map<String,Object> serializeVariables(boolean raw, @Nullable Map<String,Object> source, @NonNull Object[] edits)