Interface ConfigParser

  • All Known Implementing Classes:
    MapConfigParser

    public interface ConfigParser
    Takes in a tokenized config and returns a config node tree.
    • Method Detail

      • parse

        GResultOf<ConfigNode> parse​(java.util.List<Pair<java.util.List<Token>,​ConfigValue>> configs,
                                    boolean failOnErrors)
        Takes in a tokenized config and returns a config node tree.
        Parameters:
        configs - configs to parse
        failOnErrors - if we want to fail on errors while parsing or try and recover. Results can be unpredictable if it continues
        Returns:
        the config node built