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

     1  NodeTypeFile
     2    end-rune = 202
     3    input-source = multiple slashes in object type
     4    start-rune = 0
     5    child-node =>
     6      NodeTypeDefinition
     7        definition-name = org/team/user
     8        end-rune = 26
     9        input-source = multiple slashes in object type
    10        start-rune = 0
    11      NodeTypeDefinition
    12        definition-name = foo/bar/baz
    13        end-rune = 118
    14        input-source = multiple slashes in object type
    15        start-rune = 29
    16        child-node =>
    17          NodeTypeRelation
    18            end-rune = 116
    19            input-source = multiple slashes in object type
    20            relation-name = viewer
    21            start-rune = 58
    22            allowed-types =>
    23              NodeTypeTypeReference
    24                end-rune = 116
    25                input-source = multiple slashes in object type
    26                start-rune = 75
    27                type-ref-type =>
    28                  NodeTypeSpecificTypeReference
    29                    end-rune = 116
    30                    input-source = multiple slashes in object type
    31                    start-rune = 75
    32                    type-name = org/team/user
    33                    caveat =>
    34                      NodeTypeCaveatReference
    35                        caveat-name = foo/bar/only_on_tuesday
    36                        end-rune = 116
    37                        input-source = multiple slashes in object type
    38                        start-rune = 89
    39      NodeTypeCaveatDefinition
    40        caveat-definition-name = foo/bar/only_on_tuesday
    41        end-rune = 201
    42        input-source = multiple slashes in object type
    43        start-rune = 121
    44        caveat-definition-expression =>
    45          NodeTypeCaveatExpression
    46            caveat-expression-expressionstr = day_of_week == 'tuesday'
    47            end-rune = 199
    48            input-source = multiple slashes in object type
    49            start-rune = 176
    50        parameters =>
    51          NodeTypeCaveatParameter
    52            caveat-parameter-name = day_of_week
    53            end-rune = 169
    54            input-source = multiple slashes in object type
    55            start-rune = 152
    56            caveat-parameter-type =>
    57              NodeTypeCaveatTypeReference
    58                end-rune = 169
    59                input-source = multiple slashes in object type
    60                start-rune = 164
    61                type-name = string