All Downloads are FREE. Search and download functionalities are using the official Maven repository.

personthecat.catlib.linting.GenericArrayLinter Maven / Gradle / Ivy

Go to download

Utilities for serialization, commands, noise generation, IO, and some new data types.

The newest version!
package personthecat.catlib.linting;

import java.util.regex.Pattern;

public class GenericArrayLinter extends SyntaxLinter {

    private static final Pattern ELEMENT_PATTERN = Pattern.compile("[^\\[\\],]+");

    private static final Highlighter[] HIGHLIGHTERS = {
        new RegexHighlighter(ELEMENT_PATTERN, RANDOM_COLOR)
    };

    public GenericArrayLinter() {
        super(HIGHLIGHTERS);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy