SOURCE_FILE
  FN
    FN_KW "fn"
    WHITESPACE " "
    NAME
      IDENT "main"
    PARAM_LIST
      L_PAREN "("
      R_PAREN ")"
    WHITESPACE " "
    BLOCK_EXPR
      STMT_LIST
        L_CURLY "{"
        WHITESPACE "\n    "
        EXPR_STMT
          CALL_EXPR
            PATH_EXPR
              PATH
                PATH_SEGMENT
                  NAME_REF
                    IDENT "foo"
            ARG_LIST
              L_PAREN "("
              PATH_EXPR
                PATH
                  PATH
                    PATH_SEGMENT
                      NAME_REF
                        IDENT "bar"
                  COLON2 "::"
              R_PAREN ")"
          SEMICOLON ";"
        WHITESPACE "\n    "
        EXPR_STMT
          CALL_EXPR
            PATH_EXPR
              PATH
                PATH_SEGMENT
                  NAME_REF
                    IDENT "foo"
            ARG_LIST
              L_PAREN "("
              PATH_EXPR
                PATH
                  PATH_SEGMENT
                    NAME_REF
                      IDENT "bar"
              ERROR
                COLON ":"
              R_PAREN ")"
          SEMICOLON ";"
        WHITESPACE "\n    "
        EXPR_STMT
          CALL_EXPR
            PATH_EXPR
              PATH
                PATH_SEGMENT
                  NAME_REF
                    IDENT "foo"
            ARG_LIST
              L_PAREN "("
              BIN_EXPR
                PATH_EXPR
                  PATH
                    PATH_SEGMENT
                      NAME_REF
                        IDENT "bar"
                PLUS "+"
              R_PAREN ")"
          SEMICOLON ";"
        WHITESPACE "\n"
        R_CURLY "}"
  WHITESPACE "\n"
error 25: expected identifier
error 39: expected COMMA
error 39: expected expression
error 55: expected expression
