actually indent array types in toml

add a default config file instead of generation for commenting purposes
add a random gradient placeholder and a converter for legacy colorcodes
This commit is contained in:
Taah
2022-05-05 00:49:03 -07:00
parent 4e9984f251
commit f52c8462ae
38 changed files with 245 additions and 211 deletions

View File

@ -0,0 +1,19 @@
package dev.plex.toml;
import java.util.concurrent.atomic.AtomicInteger;
public class Context {
final dev.plex.toml.Identifier identifier;
final AtomicInteger line;
final Results.Errors errors;
public Context(dev.plex.toml.Identifier identifier, AtomicInteger line, Results.Errors errors) {
this.identifier = identifier;
this.line = line;
this.errors = errors;
}
public Context with(dev.plex.toml.Identifier identifier) {
return new Context(identifier, line, errors);
}
}