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

     1  NodeTypeFile
     2    end-rune = 113
     3    input-source = unclosed caveat test
     4    start-rune = 0
     5    child-node =>
     6      NodeTypeDefinition
     7        definition-name = another
     8        end-rune = 20
     9        input-source = unclosed caveat test
    10        start-rune = 0
    11      NodeTypeCaveatDefinition
    12        caveat-definition-name = somecaveat
    13        end-rune = 113
    14        input-source = unclosed caveat test
    15        start-rune = 23
    16        caveat-definition-expression =>
    17          NodeTypeCaveatExpression
    18            caveat-expression-expressionstr = somemap{
    19  
    20    
    21  }
    22  
    23  definition user {}
    24            end-rune = 113
    25            input-source = unclosed caveat test
    26            start-rune = 80
    27        child-node =>
    28          NodeTypeError
    29            end-rune = 113
    30            error-message = Expected one of: [TokenTypeRightBrace], found: TokenTypeEOF
    31            input-source = unclosed caveat test
    32            start-rune = 114
    33        parameters =>
    34          NodeTypeCaveatParameter
    35            caveat-parameter-name = somecondition
    36            end-rune = 58
    37            input-source = unclosed caveat test
    38            start-rune = 41
    39            caveat-parameter-type =>
    40              NodeTypeCaveatTypeReference
    41                end-rune = 58
    42                input-source = unclosed caveat test
    43                start-rune = 55
    44                type-name = uint
    45          NodeTypeCaveatParameter
    46            caveat-parameter-name = somebool
    47            end-rune = 73
    48            input-source = unclosed caveat test
    49            start-rune = 61
    50            caveat-parameter-type =>
    51              NodeTypeCaveatTypeReference
    52                end-rune = 73
    53                input-source = unclosed caveat test
    54                start-rune = 70
    55                type-name = bool