---
source: full-moon/tests/pass_cases.rs
assertion_line: 48
expression: ast.nodes()
input_file: full-moon/tests/roblox_cases/pass/string_interpolation_regression
---
stmts:
  - - FunctionCall:
        prefix:
          Name:
            leading_trivia: []
            token:
              start_position:
                bytes: 0
                line: 1
                character: 1
              end_position:
                bytes: 5
                line: 1
                character: 6
              token_type:
                type: Identifier
                identifier: error
            trailing_trivia: []
        suffixes:
          - Call:
              AnonymousCall:
                Parentheses:
                  parentheses:
                    tokens:
                      - leading_trivia: []
                        token:
                          start_position:
                            bytes: 5
                            line: 1
                            character: 6
                          end_position:
                            bytes: 6
                            line: 1
                            character: 7
                          token_type:
                            type: Symbol
                            symbol: (
                        trailing_trivia:
                          - start_position:
                              bytes: 6
                              line: 1
                              character: 7
                            end_position:
                              bytes: 7
                              line: 1
                              character: 7
                            token_type:
                              type: Whitespace
                              characters: "\n"
                      - leading_trivia: []
                        token:
                          start_position:
                            bytes: 18
                            line: 3
                            character: 1
                          end_position:
                            bytes: 19
                            line: 3
                            character: 2
                          token_type:
                            type: Symbol
                            symbol: )
                        trailing_trivia:
                          - start_position:
                              bytes: 19
                              line: 3
                              character: 2
                            end_position:
                              bytes: 20
                              line: 3
                              character: 2
                            token_type:
                              type: Whitespace
                              characters: "\n"
                  arguments:
                    pairs:
                      - End:
                          InterpolatedString:
                            segments:
                              - literal:
                                  leading_trivia:
                                    - start_position:
                                        bytes: 7
                                        line: 2
                                        character: 1
                                      end_position:
                                        bytes: 8
                                        line: 2
                                        character: 2
                                      token_type:
                                        type: Whitespace
                                        characters: "\t"
                                  token:
                                    start_position:
                                      bytes: 8
                                      line: 2
                                      character: 2
                                    end_position:
                                      bytes: 12
                                      line: 2
                                      character: 6
                                    token_type:
                                      type: InterpolatedString
                                      literal: "a "
                                      kind: Begin
                                  trailing_trivia: []
                                expression:
                                  Var:
                                    Name:
                                      leading_trivia: []
                                      token:
                                        start_position:
                                          bytes: 12
                                          line: 2
                                          character: 6
                                        end_position:
                                          bytes: 13
                                          line: 2
                                          character: 7
                                        token_type:
                                          type: Identifier
                                          identifier: b
                                      trailing_trivia: []
                            last_string:
                              leading_trivia: []
                              token:
                                start_position:
                                  bytes: 13
                                  line: 2
                                  character: 7
                                end_position:
                                  bytes: 17
                                  line: 2
                                  character: 11
                                token_type:
                                  type: InterpolatedString
                                  literal: " c"
                                  kind: End
                              trailing_trivia:
                                - start_position:
                                    bytes: 17
                                    line: 2
                                    character: 11
                                  end_position:
                                    bytes: 18
                                    line: 2
                                    character: 11
                                  token_type:
                                    type: Whitespace
                                    characters: "\n"
    - ~

