---
source: crates/squawk_parser/tests/tests.rs
input_file: crates/squawk_parser/tests/data/ok/create_database.sql
---
SOURCE_FILE
  COMMENT "-- simple"
  WHITESPACE "\n"
  CREATE_DATABASE
    CREATE_KW "create"
    WHITESPACE " "
    DATABASE_KW "database"
    WHITESPACE " "
    NAME
      IDENT "d"
    CREATE_DATABASE_OPTION_LIST
  SEMICOLON ";"
  WHITESPACE "\n\n"
  COMMENT "-- full"
  WHITESPACE "\n"
  CREATE_DATABASE
    CREATE_KW "create"
    WHITESPACE " "
    DATABASE_KW "database"
    WHITESPACE " "
    NAME
      IDENT "d"
    WHITESPACE "\n  "
    CREATE_DATABASE_OPTION_LIST
      WITH_KW "with"
      WHITESPACE " "
      CREATE_DATABASE_OPTION
        OWNER_KW "owner"
        WHITESPACE " "
        LITERAL
          STRING "'foo'"
      WHITESPACE "\n  "
      CREATE_DATABASE_OPTION
        TEMPLATE_KW "template"
        WHITESPACE " "
        EQ "="
        WHITESPACE " "
        LITERAL
          STRING "'foo'"
      WHITESPACE "\n  "
      CREATE_DATABASE_OPTION
        ENCODING_KW "encoding"
        WHITESPACE " "
        EQ "="
        WHITESPACE " "
        LITERAL
          STRING "'utf-8'"
      WHITESPACE "\n  "
      CREATE_DATABASE_OPTION
        IDENT "strategy"
        WHITESPACE " "
        EQ "="
        WHITESPACE " "
        LITERAL
          INT_NUMBER "10"
      WHITESPACE "\n  "
      CREATE_DATABASE_OPTION
        IDENT "locale"
        WHITESPACE " "
        EQ "="
        WHITESPACE " "
        LITERAL
          STRING "'fr_FR'"
      WHITESPACE "\n  "
      CREATE_DATABASE_OPTION
        IDENT "lc_collate"
        WHITESPACE " "
        EQ "="
        WHITESPACE " "
        LITERAL
          STRING "'fr_FR'"
      WHITESPACE "\n  "
      CREATE_DATABASE_OPTION
        IDENT "lc_ctyep"
        WHITESPACE " "
        EQ "="
        WHITESPACE " "
        LITERAL
          INT_NUMBER "10"
      WHITESPACE "\n  "
      CREATE_DATABASE_OPTION
        IDENT "builtin_locale"
        WHITESPACE " "
        EQ "="
        WHITESPACE " "
        LITERAL
          STRING "'en'"
      WHITESPACE "\n  "
      CREATE_DATABASE_OPTION
        IDENT "icu_locale"
        WHITESPACE " "
        EQ "="
        WHITESPACE " "
        LITERAL
          STRING "'en'"
      WHITESPACE "\n  "
      CREATE_DATABASE_OPTION
        IDENT "icu_rules"
        WHITESPACE " "
        EQ "="
        WHITESPACE " "
        LITERAL
          STRING "''"
      WHITESPACE "\n  "
      CREATE_DATABASE_OPTION
        IDENT "locale_provider"
        WHITESPACE " "
        EQ "="
        WHITESPACE " "
        LITERAL
          STRING "'./foo/bar'"
      WHITESPACE "\n  "
      CREATE_DATABASE_OPTION
        IDENT "collation_version"
        WHITESPACE " "
        EQ "="
        WHITESPACE " "
        LITERAL
          INT_NUMBER "10"
      WHITESPACE "\n  "
      CREATE_DATABASE_OPTION
        TABLESPACE_KW "tablespace"
        WHITESPACE " "
        EQ "="
        WHITESPACE " "
        FULL_KW "full"
      WHITESPACE "\n  "
      CREATE_DATABASE_OPTION
        IDENT "allow_connections"
        WHITESPACE " "
        EQ "="
        WHITESPACE " "
        LITERAL
          FALSE_KW "false"
      WHITESPACE "\n  "
      CREATE_DATABASE_OPTION
        CONNECTION_KW "connection"
        WHITESPACE " "
        LIMIT_KW "limit"
        WHITESPACE " "
        EQ "="
        WHITESPACE " "
        LITERAL
          INT_NUMBER "1000"
      WHITESPACE "\n  "
      CREATE_DATABASE_OPTION
        IDENT "is_template"
        WHITESPACE " "
        EQ "="
        WHITESPACE " "
        LITERAL
          FALSE_KW "false"
      WHITESPACE "\n  "
      CREATE_DATABASE_OPTION
        IDENT "oid"
        WHITESPACE " "
        LITERAL
          INT_NUMBER "1010"
  SEMICOLON ";"
  WHITESPACE "\n\n"
