@Override
    public boolean equals(Object o) {
        if (!(o instanceof ParserSettings))
            return false;
        
        ParserSettings other = (ParserSettings) o;
        
        return (allowLists == other.allowLists) &&
                (allowSingleTokens == other.allowSingleTokens) &&
                (ignoreComments == other.ignoreComments) &&
                (printTimingInfo == other.printTimingInfo) &&
                (tryToRecover == other.tryToRecover) &&
                (warningsAreErrors == other.warningsAreErrors);
    }