<commit_before>import com.vasileff.ceylon.dart.compiler.core {
    eq
}
shared abstract
class DartNode() {
    shared formal
    void write(CodeWriter writer);

    shared actual default
    String string {
        value sb = StringBuilder();
        write(CodeWriter(sb.append));
        return sb.string;
    }
}

"A node that represents an expression."
shared abstract
class DartExpression() extends DartNode() {}

"A node that represents a statement."
shared abstract
class DartStatement() extends DartNode() {}

"A node that represents a directive."
shared abstract
class DartDirective() extends DartAnnotatedNode() {
    // DartComment comment
    // List<DartAnnotation> metadata
}

shared
class DartAwaitExpression(expression)
        extends DartExpression() {<commit_msg>add DartNamedExpression node type #15<commit_after>import com.vasileff.ceylon.dart.compiler.core {
    eq
}
shared abstract
class DartNode() {
    shared formal
    void write(CodeWriter writer);

    shared actual default
    String string {
        value sb = StringBuilder();
        write(CodeWriter(sb.append));
        return sb.string;
    }
}

"A node that represents an expression."
shared abstract
class DartExpression() extends DartNode() {}

"An expression that has a name associated with it. They are used in method invocations
 when there are named parameters."
shared
class DartNamedExpression(name, expression) extends DartExpression() {
    DartLabel name;
    DartExpression expression;

    shared actual
    void write(CodeWriter writer) {
        name.write(writer);
        expression.write(writer);
    }
}

"A label on either a LabeledStatement or a NamedExpression."
shared
class DartLabel(label) extends DartNode() {
    DartSimpleIdentifier label;

    shared actual
    void write(CodeWriter writer) {
        label.write(writer);
        writer.write(": ");
    }
}

"A node that represents a statement."
shared abstract
class DartStatement() extends DartNode() {}

"A node that represents a directive."
shared abstract
class DartDirective() extends DartAnnotatedNode() {
    // DartComment comment
    // List<DartAnnotation> metadata
}

shared
class DartAwaitExpression(expression)
        extends DartExpression() {
{'fraction_non_alphanumeric': 0.0848294434470377, 'fraction_numerical': 0.0008976660682226212, 'mean_word_length': 3.62448132780083, 'pattern_counts': {'":': 1, '<': 5, '<?xml version=': 0, '>': 5, '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': '537652', 'n_tokens_mistral': 612, 'n_tokens_neox': 580, 'n_words': 200}