<commit_before>// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![allow(missing_docs)]

pub enum Expression {
    IdentifierExpression {
        name: String,
    },
}

pub enum PatternElement {
    TextElement {
        value: String,
    },
    Placeable {
        expressions: Vec<Expression>,
    },
}

pub enum Value {
    Pattern {
        source: String,
        elements: Vec<PatternElement>,
    },
}

pub enum Entry {
    Entity {
        id: Identifier,
        value: Value,
    },
}

pub struct Identifier {
    pub name: String,
}<commit_msg>Derive Debug for l20n AST nodes.<commit_after>// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![allow(missing_docs)]

#[derive(Debug)]
pub enum Expression {
    IdentifierExpression {
        name: String,
    },
}

#[derive(Debug)]
pub enum PatternElement {
    TextElement {
        value: String,
    },
    Placeable {
        expressions: Vec<Expression>,
    },
}

#[derive(Debug)]
pub enum Value {
    Pattern {
        source: String,
        elements: Vec<PatternElement>,
    },
}

#[derive(Debug)]
pub enum Entry {
    Entity {
        id: Identifier,
        value: Value,
    },
}

#[derive(Debug)]
pub struct Identifier {
    pub name: String,
}
{'fraction_non_alphanumeric': 0.12195121951219512, 'fraction_numerical': 0.005807200929152149, 'mean_word_length': 2.6504237288135593, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2078395', 'n_tokens_mistral': 515, 'n_tokens_neox': 521, 'n_words': 156}