---
source: crates/squawk_parser/tests/tests.rs
input_file: crates/squawk_parser/tests/data/ok/analyze.sql
---
SOURCE_FILE
  COMMENT "-- simple"
  WHITESPACE "\n"
  ANALYZE
    ANALYZE_KW "analyze"
  SEMICOLON ";"
  WHITESPACE "\n"
  ANALYZE
    ANALYSE_KW "analyse"
  SEMICOLON ";"
  WHITESPACE "\n\n"
  COMMENT "-- full"
  WHITESPACE "\n"
  ANALYZE
    ANALYZE_KW "analyze"
    WHITESPACE " "
    VERBOSE_KW "verbose"
    WHITESPACE " "
    TABLE_AND_COLUMNS_LIST
      TABLE_AND_COLUMNS
        RELATION_NAME
          PATH
            PATH
              PATH_SEGMENT
                NAME_REF
                  IDENT "foo"
            DOT "."
            PATH_SEGMENT
              NAME_REF
                IDENT "bar"
      COMMA ","
      WHITESPACE " "
      TABLE_AND_COLUMNS
        RELATION_NAME
          PATH
            PATH
              PATH_SEGMENT
                NAME_REF
                  IDENT "foo"
            DOT "."
            PATH_SEGMENT
              NAME_REF
                IDENT "bar"
        COLUMN_LIST
          L_PAREN "("
          COLUMN
            NAME_REF
              IDENT "a"
          COMMA ","
          WHITESPACE " "
          COLUMN
            NAME_REF
              IDENT "b"
          COMMA ","
          WHITESPACE " "
          COLUMN
            NAME_REF
              IDENT "c"
          R_PAREN ")"
      COMMA ","
      WHITESPACE " "
      TABLE_AND_COLUMNS
        RELATION_NAME
          PATH
            PATH_SEGMENT
              NAME_REF
                IDENT "foo"
  SEMICOLON ";"
  WHITESPACE "\n\n"
  COMMENT "-- full_parens"
  WHITESPACE "\n"
  ANALYZE
    ANALYZE_KW "analyze"
    WHITESPACE " "
    OPTION_ITEM_LIST
      L_PAREN "("
      OPTION_ITEM
        VERBOSE_KW "verbose"
        WHITESPACE " "
        LITERAL
          FALSE_KW "false"
      COMMA ","
      WHITESPACE " "
      OPTION_ITEM
        IDENT "skip_locked"
      COMMA ","
      WHITESPACE " "
      OPTION_ITEM
        IDENT "buffer_usage_limit"
        WHITESPACE " "
        LITERAL
          INT_NUMBER "10"
      R_PAREN ")"
    WHITESPACE " "
    TABLE_AND_COLUMNS_LIST
      TABLE_AND_COLUMNS
        RELATION_NAME
          PATH
            PATH
              PATH_SEGMENT
                NAME_REF
                  IDENT "foo"
            DOT "."
            PATH_SEGMENT
              NAME_REF
                IDENT "bar"
        COLUMN_LIST
          L_PAREN "("
          COLUMN
            NAME_REF
              IDENT "a"
          COMMA ","
          WHITESPACE " "
          COLUMN
            NAME_REF
              IDENT "b"
          COMMA ","
          WHITESPACE " "
          COLUMN
            NAME_REF
              IDENT "c"
          R_PAREN ")"
  SEMICOLON ";"
  WHITESPACE "\n\n"
