java.lang.Object
org.aya.cli.render.vscode.ColorTheme
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @NotNull kala.collection.immutable.ImmutableMap<String,VscColorTheme.TokenColor.Settings> final @Nullable Pathfinal kala.control.Option<kala.value.LazyValue<kala.control.Try<ColorTheme>>> -
Constructor Summary
ConstructorsConstructorDescriptionColorTheme(@Nullable Path include, @NotNull kala.collection.immutable.ImmutableMap<String, VscColorTheme.TokenColor.Settings> colorTheme) -
Method Summary
Modifier and TypeMethodDescription@NotNull org.aya.pretty.printer.ColorSchemebuildColorScheme(@Nullable org.aya.pretty.printer.ColorScheme fallback) kala.control.Option<VscColorTheme.TokenColor.Settings>voidfindAndPut(@NotNull kala.collection.mutable.MutableMap<String, Integer> putTo, @NotNull String key, @NotNull kala.collection.Seq<String> scope, @NotNull kala.collection.Map<String, Integer> fallback) static kala.control.Try<ColorTheme>static @NotNull com.google.gson.GsonBuilder
-
Field Details
-
include
-
colorTheme
@NotNull public final @NotNull kala.collection.immutable.ImmutableMap<String,VscColorTheme.TokenColor.Settings> colorTheme -
parent
-
-
Constructor Details
-
ColorTheme
public ColorTheme(@Nullable @Nullable Path include, @NotNull @NotNull kala.collection.immutable.ImmutableMap<String, VscColorTheme.TokenColor.Settings> colorTheme) - Parameters:
include- an absolute path
-
-
Method Details
-
loadFrom
public static kala.control.Try<ColorTheme> loadFrom(@NotNull @NotNull Path path) throws com.google.gson.JsonParseException - Throws:
com.google.gson.JsonParseException
-
newGsonBuilder
@NotNull public static @NotNull com.google.gson.GsonBuilder newGsonBuilder() -
find
-
buildColorScheme
@NotNull public @NotNull org.aya.pretty.printer.ColorScheme buildColorScheme(@Nullable @Nullable org.aya.pretty.printer.ColorScheme fallback) -
findAndPut
-