[
    FullOpeningTag(
        Span(
            1,
            1,
        ),
    ),
    Expression {
        expression: New {
            new: Span(
                3,
                1,
            ),
            target: AnonymousClass(
                AnonymousClass {
                    attributes: [],
                    class: Span(
                        3,
                        5,
                    ),
                    extends: None,
                    implements: None,
                    body: AnonymousClassBody {
                        left_brace: Span(
                            3,
                            11,
                        ),
                        members: [
                            ConcreteMethod(
                                ConcreteMethod {
                                    comments: CommentGroup {
                                        comments: [],
                                    },
                                    attributes: [],
                                    modifiers: MethodModifierGroup {
                                        modifiers: [
                                            Public(
                                                Span(
                                                    4,
                                                    5,
                                                ),
                                            ),
                                        ],
                                    },
                                    function: Span(
                                        4,
                                        12,
                                    ),
                                    ampersand: None,
                                    name: SimpleIdentifier {
                                        span: Span(
                                            4,
                                            21,
                                        ),
                                        value: "foo",
                                    },
                                    parameters: FunctionParameterList {
                                        comments: CommentGroup {
                                            comments: [],
                                        },
                                        left_parenthesis: Span(
                                            4,
                                            24,
                                        ),
                                        parameters: CommaSeparated {
                                            inner: [],
                                            commas: [],
                                        },
                                        right_parenthesis: Span(
                                            4,
                                            25,
                                        ),
                                    },
                                    return_type: None,
                                    body: MethodBody {
                                        comments: CommentGroup {
                                            comments: [],
                                        },
                                        left_brace: Span(
                                            4,
                                            27,
                                        ),
                                        statements: [],
                                        right_brace: Span(
                                            4,
                                            28,
                                        ),
                                    },
                                },
                            ),
                        ],
                        right_brace: Span(
                            5,
                            1,
                        ),
                    },
                },
            ),
            arguments: None,
        },
        ending: Semicolon(
            Span(
                5,
                2,
            ),
        ),
    },
]
