Interface Expression
- All Known Implementing Classes:
AbstractExpression,EmptyExpression,KeyValueExpression,TableExpression
public interface Expression
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull EmptyExpressionasEmpty()default @NotNull KeyValueExpressiondefault @NotNull TableExpressionasTable()static @NotNull EmptyExpressionempty()@Nullable Stringdefault booleanisEmpty()default booleandefault booleanisTable()static @NotNull KeyValueExpressionkeyValue(@NotNull io.github.wasabithumb.jtoml.key.TomlKey key, @NotNull io.github.wasabithumb.jtoml.value.TomlValue value) voidsetComment(@Nullable String comment) static @NotNull TableExpressiontable(@NotNull io.github.wasabithumb.jtoml.key.TomlKey key, boolean isArray)
-
Method Details
-
empty
-
keyValue
@NotNull static @NotNull KeyValueExpression keyValue(@NotNull @NotNull io.github.wasabithumb.jtoml.key.TomlKey key, @NotNull @NotNull io.github.wasabithumb.jtoml.value.TomlValue value) -
table
@NotNull static @NotNull TableExpression table(@NotNull @NotNull io.github.wasabithumb.jtoml.key.TomlKey key, boolean isArray) -
getComment
-
setComment
-
isEmpty
default boolean isEmpty() -
asEmpty
-
isKeyValue
default boolean isKeyValue() -
asKeyValue
-
isTable
default boolean isTable() -
asTable
-