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

     1  NodeTypeFile
     2    end-rune = 36
     3    input-source = permission invalid expression test
     4    start-rune = 0
     5    child-node =>
     6      NodeTypeDefinition
     7        definition-name = foo
     8        end-rune = 36
     9        input-source = permission invalid expression test
    10        start-rune = 0
    11        child-node =>
    12          NodeTypePermission
    13            end-rune = 36
    14            input-source = permission invalid expression test
    15            relation-name = bar
    16            start-rune = 21
    17            compute-expression =>
    18              NodeTypeError
    19                end-rune = 36
    20                error-message = Expected compute expression for permission
    21                input-source = permission invalid expression test
    22                start-rune = 38
    23          NodeTypeError
    24            end-rune = 36
    25            error-message = Expected end of statement or definition, found: TokenTypeMinus
    26            error-source = -
    27            input-source = permission invalid expression test
    28            start-rune = 38
    29      NodeTypeError
    30        end-rune = 36
    31        error-message = Unexpected token at root level: TokenTypeMinus
    32        error-source = -
    33        input-source = permission invalid expression test
    34        start-rune = 38