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

     1  NodeTypeFile
     2    end-rune = 176
     3    input-source = basic caveat test
     4    start-rune = 0
     5    child-node =>
     6      NodeTypeDefinition
     7        definition-name = another
     8        end-rune = 20
     9        input-source = basic caveat test
    10        start-rune = 0
    11      NodeTypeCaveatDefinition
    12        caveat-definition-name = somecaveat
    13        end-rune = 156
    14        input-source = basic caveat test
    15        start-rune = 23
    16        caveat-definition-expression =>
    17          NodeTypeCaveatExpression
    18            caveat-expression-expressionstr = somecondition == 42 && somebool && somestring == 'hello'
    19            end-rune = 154
    20            input-source = basic caveat test
    21            start-rune = 99
    22        parameters =>
    23          NodeTypeCaveatParameter
    24            caveat-parameter-name = somecondition
    25            end-rune = 58
    26            input-source = basic caveat test
    27            start-rune = 41
    28            caveat-parameter-type =>
    29              NodeTypeCaveatTypeReference
    30                end-rune = 58
    31                input-source = basic caveat test
    32                start-rune = 55
    33                type-name = uint
    34          NodeTypeCaveatParameter
    35            caveat-parameter-name = somebool
    36            end-rune = 73
    37            input-source = basic caveat test
    38            start-rune = 61
    39            caveat-parameter-type =>
    40              NodeTypeCaveatTypeReference
    41                end-rune = 73
    42                input-source = basic caveat test
    43                start-rune = 70
    44                type-name = bool
    45          NodeTypeCaveatParameter
    46            caveat-parameter-name = somestring
    47            end-rune = 92
    48            input-source = basic caveat test
    49            start-rune = 76
    50            caveat-parameter-type =>
    51              NodeTypeCaveatTypeReference
    52                end-rune = 92
    53                input-source = basic caveat test
    54                start-rune = 87
    55                type-name = string
    56      NodeTypeDefinition
    57        definition-name = user
    58        end-rune = 176
    59        input-source = basic caveat test
    60        start-rune = 159