-
- All Known Implementing Classes:
MapConfigParser
public interface ConfigParserTakes in a tokenized config and returns a config node tree.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
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 parsefailOnErrors- 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
-
-