---
source: full-moon/tests/fail_cases.rs
expression: result.ast()
input_file: full-moon/tests/cfxlua_cases/fail/tokenizer/c_style_comments
---
nodes:
  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: print
              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: []
                        - leading_trivia: []
                          token:
                            start_position:
                              bytes: 21
                              line: 1
                              character: 22
                            end_position:
                              bytes: 22
                              line: 1
                              character: 23
                            token_type:
                              type: Symbol
                              symbol: )
                          trailing_trivia:
                            - start_position:
                                bytes: 22
                                line: 1
                                character: 23
                              end_position:
                                bytes: 23
                                line: 1
                                character: 24
                              token_type:
                                type: Whitespace
                                characters: " "
                    arguments:
                      pairs:
                        - End:
                            String:
                              leading_trivia: []
                              token:
                                start_position:
                                  bytes: 6
                                  line: 1
                                  character: 7
                                end_position:
                                  bytes: 21
                                  line: 1
                                  character: 22
                                token_type:
                                  type: StringLiteral
                                  literal: "Hello, World!"
                                  quote_type: Double
                              trailing_trivia: []
      - ~
eof:
  leading_trivia:
    - start_position:
        bytes: 23
        line: 1
        character: 24
      end_position:
        bytes: 46
        line: 3
        character: 1
      token_type:
        type: CStyleComment
        comment: " Comment\nlocal a = 2\n"
  token:
    start_position:
      bytes: 46
      line: 3
      character: 1
    end_position:
      bytes: 46
      line: 3
      character: 1
    token_type:
      type: Eof
  trailing_trivia: []
