<commit_before>//
// Copyright (c) 2016-2017 wag it GmbH.
// License: MIT
//

import Foundation

/**
    Collection of layout specific options.
*/
public struct BayaLayoutOptions {
    public enum Orientation {
        case horizontal
        case vertical
    }

    public struct Gravity {
        public enum Horizontal {
            case left
            case center
            case right
        }
        public enum Vertical {
            case top
            case middle
            case bottom
        }
    }

    public enum Mode {
        case wrapContent
        case matchParent
    }

    public struct Modes {
        internal static let `default` = BayaLayoutOptions.Modes(width: .wrapContent, height: .wrapContent)
        let width: BayaLayoutOptions.Mode
        let height: BayaLayoutOptions.Mode

        public init(width: BayaLayoutOptions.Mode, height: BayaLayoutOptions.Mode) {
            self.width = width
            self.height = height
        }
    }
}<commit_msg>(fix) make layout modes public<commit_after>//
// Copyright (c) 2016-2017 wag it GmbH.
// License: MIT
//

import Foundation

/**
    Collection of layout specific options.
*/
public struct BayaLayoutOptions {
    public enum Orientation {
        case horizontal
        case vertical
    }

    public struct Gravity {
        public enum Horizontal {
            case left
            case center
            case right
        }
        public enum Vertical {
            case top
            case middle
            case bottom
        }
    }

    public enum Mode {
        case wrapContent
        case matchParent
    }

    public struct Modes {
        internal static let `default` = BayaLayoutOptions.Modes(width: .wrapContent, height: .wrapContent)
        public let width: BayaLayoutOptions.Mode
        public let height: BayaLayoutOptions.Mode

        public init(width: BayaLayoutOptions.Mode, height: BayaLayoutOptions.Mode) {
            self.width = width
            self.height = height
        }
    }
}
{'fraction_non_alphanumeric': 0.06413418845584608, 'fraction_numerical': 0.007893438579181056, 'mean_word_length': 1.736842105263158, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4483900', 'n_tokens_mistral': 536, 'n_tokens_neox': 502, 'n_words': 166}