<commit_before>//  Copyright © 2017 Schibsted. All rights reserved.

import UIKit

private var layoutNodeKey = 0

private class Box {
    weak var node: LayoutNode?
    init(_ node: LayoutNode) {
        self.node = node
    }
}

extension UIStackView {
    public weak var layoutNode: LayoutNode? {
        return (objc_getAssociatedObject(self, &layoutNodeKey) as? Box)?.node
    }

    open override class func create(with node: LayoutNode) throws -> UIView {
        let view = try super.create(with: node)
        objc_setAssociatedObject(view, &layoutNodeKey, Box(node), .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
        return view
    }

    open override class var expressionTypes: [String: RuntimeType] {
        var types = super.expressionTypes
        types["axis"] = RuntimeType(UILayoutConstraintAxis.self, [<commit_msg>Removed unused layoutNode property from StackView<commit_after>//  Copyright © 2017 Schibsted. All rights reserved.

import UIKit

extension UIStackView {
    open override class var expressionTypes: [String: RuntimeType] {
        var types = super.expressionTypes
        types["axis"] = RuntimeType(UILayoutConstraintAxis.self, [
{'fraction_non_alphanumeric': 0.082687338501292, 'fraction_numerical': 0.007751937984496124, 'mean_word_length': 3.556862745098039, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '2338875', 'n_tokens_mistral': 340, 'n_tokens_neox': 325, 'n_words': 99}