---
source: crates/squawk_parser/tests/tests.rs
input_file: crates/squawk_parser/tests/data/ok/reassign.sql
---
SOURCE_FILE
  COMMENT "-- simple"
  WHITESPACE "\n"
  REASSIGN
    REASSIGN_KW "reassign"
    WHITESPACE " "
    OWNED_KW "owned"
    WHITESPACE " "
    BY_KW "by"
    WHITESPACE " "
    ROLE_REF_LIST
      ROLE_REF
        NAME_REF
          SET_KW "set"
      COMMA ","
      WHITESPACE " "
      ROLE_REF
        CURRENT_ROLE_KW "current_role"
      COMMA ","
      WHITESPACE " "
      ROLE_REF
        CURRENT_USER_KW "current_user"
      COMMA ","
      WHITESPACE " "
      ROLE_REF
        NAME_REF
          IDENT "foo"
    WHITESPACE " "
    TO_KW "to"
    WHITESPACE " "
    ROLE_REF_LIST
      ROLE_REF
        SESSION_USER_KW "session_user"
  SEMICOLON ";"
  WHITESPACE "\n\n"
  REASSIGN
    REASSIGN_KW "reassign"
    WHITESPACE " "
    OWNED_KW "owned"
    WHITESPACE " "
    BY_KW "by"
    WHITESPACE " "
    ROLE_REF_LIST
      ROLE_REF
        CURRENT_USER_KW "current_user"
    WHITESPACE " "
    TO_KW "to"
    WHITESPACE " "
    ROLE_REF_LIST
      ROLE_REF
        CURRENT_ROLE_KW "current_role"
  SEMICOLON ";"
  WHITESPACE "\n\n"
