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

     1  NodeTypeFile
     2    end-rune = 313
     3    input-source = multiple definition test
     4    start-rune = 0
     5    child-node =>
     6      NodeTypeDefinition
     7        definition-name = user
     8        end-rune = 17
     9        input-source = multiple definition test
    10        start-rune = 0
    11      NodeTypeDefinition
    12        definition-name = namespace
    13        end-rune = 101
    14        input-source = multiple definition test
    15        start-rune = 20
    16        child-node =>
    17          NodeTypeRelation
    18            end-rune = 68
    19            input-source = multiple definition test
    20            relation-name = adminer
    21            start-rune = 47
    22            allowed-types =>
    23              NodeTypeTypeReference
    24                end-rune = 68
    25                input-source = multiple definition test
    26                start-rune = 65
    27                type-ref-type =>
    28                  NodeTypeSpecificTypeReference
    29                    end-rune = 68
    30                    input-source = multiple definition test
    31                    start-rune = 65
    32                    type-name = user
    33          NodeTypePermission
    34            end-rune = 99
    35            input-source = multiple definition test
    36            relation-name = admin
    37            start-rune = 74
    38            compute-expression =>
    39              NodeTypeIdentifier
    40                end-rune = 99
    41                identifier-value = adminer
    42                input-source = multiple definition test
    43                start-rune = 93
    44      NodeTypeDefinition
    45        definition-name = repository
    46        end-rune = 313
    47        input-source = multiple definition test
    48        start-rune = 104
    49        child-node =>
    50          NodeTypeRelation
    51            end-rune = 160
    52            input-source = multiple definition test
    53            relation-name = namespace
    54            start-rune = 132
    55            allowed-types =>
    56              NodeTypeTypeReference
    57                end-rune = 160
    58                input-source = multiple definition test
    59                start-rune = 152
    60                type-ref-type =>
    61                  NodeTypeSpecificTypeReference
    62                    end-rune = 160
    63                    input-source = multiple definition test
    64                    start-rune = 152
    65                    type-name = namespace
    66          NodeTypeRelation
    67            end-rune = 186
    68            input-source = multiple definition test
    69            relation-name = reader
    70            start-rune = 166
    71            allowed-types =>
    72              NodeTypeTypeReference
    73                end-rune = 186
    74                input-source = multiple definition test
    75                start-rune = 183
    76                type-ref-type =>
    77                  NodeTypeSpecificTypeReference
    78                    end-rune = 186
    79                    input-source = multiple definition test
    80                    start-rune = 183
    81                    type-name = user
    82          NodeTypeRelation
    83            end-rune = 223
    84            input-source = multiple definition test
    85            relation-name = writer
    86            start-rune = 192
    87            allowed-types =>
    88              NodeTypeTypeReference
    89                end-rune = 223
    90                input-source = multiple definition test
    91                start-rune = 209
    92                type-ref-type =>
    93                  NodeTypeSpecificTypeReference
    94                    end-rune = 223
    95                    input-source = multiple definition test
    96                    relation-name = anotherrel
    97                    start-rune = 209
    98                    type-name = user
    99          NodeTypePermission
   100            end-rune = 281
   101            input-source = multiple definition test
   102            relation-name = read
   103            start-rune = 230
   104            compute-expression =>
   105              NodeTypeUnionExpression
   106                end-rune = 281
   107                input-source = multiple definition test
   108                start-rune = 248
   109                left-expr =>
   110                  NodeTypeUnionExpression
   111                    end-rune = 262
   112                    input-source = multiple definition test
   113                    start-rune = 248
   114                    left-expr =>
   115                      NodeTypeIdentifier
   116                        end-rune = 253
   117                        identifier-value = reader
   118                        input-source = multiple definition test
   119                        start-rune = 248
   120                    right-expr =>
   121                      NodeTypeIdentifier
   122                        end-rune = 262
   123                        identifier-value = writer
   124                        input-source = multiple definition test
   125                        start-rune = 257
   126                right-expr =>
   127                  NodeTypeArrowExpression
   128                    end-rune = 281
   129                    input-source = multiple definition test
   130                    start-rune = 266
   131                    left-expr =>
   132                      NodeTypeIdentifier
   133                        end-rune = 274
   134                        identifier-value = namespace
   135                        input-source = multiple definition test
   136                        start-rune = 266
   137                    right-expr =>
   138                      NodeTypeIdentifier
   139                        end-rune = 281
   140                        identifier-value = admin
   141                        input-source = multiple definition test
   142                        start-rune = 277
   143          NodeTypePermission
   144            end-rune = 311
   145            input-source = multiple definition test
   146            relation-name = write
   147            start-rune = 287
   148            compute-expression =>
   149              NodeTypeIdentifier
   150                end-rune = 311
   151                identifier-value = writer
   152                input-source = multiple definition test
   153                start-rune = 306