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

     1  NodeTypeFile
     2    end-rune = 76
     3    input-source = empty caveat test
     4    start-rune = 0
     5    child-node =>
     6      NodeTypeDefinition
     7        definition-name = another
     8        end-rune = 20
     9        input-source = empty caveat test
    10        start-rune = 0
    11      NodeTypeCaveatDefinition
    12        caveat-definition-name = somecaveat
    13        end-rune = 76
    14        input-source = empty caveat test
    15        start-rune = 23
    16        parameters =>
    17          NodeTypeCaveatParameter
    18            caveat-parameter-name = somecondition
    19            end-rune = 58
    20            input-source = empty caveat test
    21            start-rune = 41
    22            caveat-parameter-type =>
    23              NodeTypeCaveatTypeReference
    24                end-rune = 58
    25                input-source = empty caveat test
    26                start-rune = 55
    27                type-name = uint
    28          NodeTypeCaveatParameter
    29            caveat-parameter-name = somebool
    30            end-rune = 73
    31            input-source = empty caveat test
    32            start-rune = 61
    33            caveat-parameter-type =>
    34              NodeTypeCaveatTypeReference
    35                end-rune = 73
    36                input-source = empty caveat test
    37                start-rune = 70
    38                type-name = bool
    39      NodeTypeError
    40        end-rune = 76
    41        error-message = Unexpected token at root level: TokenTypeRightBrace
    42        error-source = }
    43        input-source = empty caveat test
    44        start-rune = 78