github.com/authzed/spicedb@v1.32.1-0.20240520085336-ebda56537386/pkg/schemadsl/parser/tests/invalid_perm_name.zed.expected (about)

     1  NodeTypeFile
     2    end-rune = 209
     3    input-source = invalid permission name test
     4    start-rune = 0
     5    child-node =>
     6      NodeTypeDefinition
     7        definition-name = org
     8        end-rune = 209
     9        input-source = invalid permission name test
    10        start-rune = 0
    11        child-node =>
    12          NodeTypeRelation
    13            end-rune = 40
    14            input-source = invalid permission name test
    15            relation-name = admin
    16            start-rune = 21
    17            allowed-types =>
    18              NodeTypeTypeReference
    19                end-rune = 40
    20                input-source = invalid permission name test
    21                start-rune = 37
    22                type-ref-type =>
    23                  NodeTypeSpecificTypeReference
    24                    end-rune = 40
    25                    input-source = invalid permission name test
    26                    start-rune = 37
    27                    type-name = user
    28          NodeTypeRelation
    29            end-rune = 66
    30            input-source = invalid permission name test
    31            relation-name = member
    32            start-rune = 46
    33            allowed-types =>
    34              NodeTypeTypeReference
    35                end-rune = 66
    36                input-source = invalid permission name test
    37                start-rune = 63
    38                type-ref-type =>
    39                  NodeTypeSpecificTypeReference
    40                    end-rune = 66
    41                    input-source = invalid permission name test
    42                    start-rune = 63
    43                    type-name = user
    44          NodeTypePermission
    45            end-rune = 104
    46            input-source = invalid permission name test
    47            relation-name = read
    48            start-rune = 73
    49            compute-expression =>
    50              NodeTypeUnionExpression
    51                end-rune = 104
    52                input-source = invalid permission name test
    53                start-rune = 91
    54                left-expr =>
    55                  NodeTypeIdentifier
    56                    end-rune = 95
    57                    identifier-value = admin
    58                    input-source = invalid permission name test
    59                    start-rune = 91
    60                right-expr =>
    61                  NodeTypeIdentifier
    62                    end-rune = 104
    63                    identifier-value = member
    64                    input-source = invalid permission name test
    65                    start-rune = 99
    66          NodeTypePermission
    67            end-rune = 134
    68            input-source = invalid permission name test
    69            relation-name = create
    70            start-rune = 110
    71            compute-expression =>
    72              NodeTypeIdentifier
    73                end-rune = 134
    74                identifier-value = admin
    75                input-source = invalid permission name test
    76                start-rune = 130
    77          NodeTypePermission
    78            end-rune = 164
    79            input-source = invalid permission name test
    80            relation-name = update
    81            start-rune = 140
    82            compute-expression =>
    83              NodeTypeIdentifier
    84                end-rune = 164
    85                identifier-value = admin
    86                input-source = invalid permission name test
    87                start-rune = 160
    88          NodeTypePermission
    89            end-rune = 194
    90            input-source = invalid permission name test
    91            relation-name = delete
    92            start-rune = 170
    93            compute-expression =>
    94              NodeTypeIdentifier
    95                end-rune = 194
    96                identifier-value = admin
    97                input-source = invalid permission name test
    98                start-rune = 190
    99          NodeTypePermission
   100            end-rune = 209
   101            input-source = invalid permission name test
   102            start-rune = 200
   103            child-node =>
   104              NodeTypeError
   105                end-rune = 209
   106                error-message = Expected identifier, found token TokenTypeStar
   107                error-source = *
   108                input-source = invalid permission name test
   109                start-rune = 211
   110          NodeTypeError
   111            end-rune = 209
   112            error-message = Expected end of statement or definition, found: TokenTypeStar
   113            error-source = *
   114            input-source = invalid permission name test
   115            start-rune = 211
   116      NodeTypeError
   117        end-rune = 209
   118        error-message = Unexpected token at root level: TokenTypeStar
   119        error-source = *
   120        input-source = invalid permission name test
   121        start-rune = 211