-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2105 from authzed/make-all-and-any-into-keywords
Make all and any into keywords
- Loading branch information
Showing
5 changed files
with
69 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 19 additions & 19 deletions
38
pkg/composableschemadsl/parser/tests/arrowillegalfunc.zed.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,47 @@ | ||
NodeTypeFile | ||
end-rune = 48 | ||
end-rune = 45 | ||
input-source = arrow illegal function test | ||
start-rune = 0 | ||
child-node => | ||
NodeTypeDefinition | ||
definition-name = resource | ||
end-rune = 48 | ||
end-rune = 45 | ||
input-source = arrow illegal function test | ||
start-rune = 0 | ||
child-node => | ||
NodeTypePermission | ||
end-rune = 48 | ||
end-rune = 45 | ||
input-source = arrow illegal function test | ||
relation-name = view | ||
start-rune = 26 | ||
child-node => | ||
NodeTypeError | ||
end-rune = 48 | ||
error-message = Expected 'any' or 'all' for arrow function, found: foo | ||
error-source = ( | ||
end-rune = 45 | ||
error-message = Expected one of keywords any, all; found token TokenTypeIdentifier | ||
error-source = foo | ||
input-source = arrow illegal function test | ||
start-rune = 49 | ||
start-rune = 46 | ||
NodeTypeError | ||
end-rune = 48 | ||
error-message = Expected right hand expression, found: TokenTypeLeftParen | ||
error-source = ( | ||
end-rune = 45 | ||
error-message = Expected right hand expression, found: TokenTypeIdentifier | ||
error-source = foo | ||
input-source = arrow illegal function test | ||
start-rune = 49 | ||
start-rune = 46 | ||
compute-expression => | ||
NodeTypeIdentifier | ||
end-rune = 44 | ||
identifier-value = a | ||
input-source = arrow illegal function test | ||
start-rune = 44 | ||
NodeTypeError | ||
end-rune = 48 | ||
error-message = Expected end of statement or definition, found: TokenTypeLeftParen | ||
error-source = ( | ||
end-rune = 45 | ||
error-message = Expected end of statement or definition, found: TokenTypeIdentifier | ||
error-source = foo | ||
input-source = arrow illegal function test | ||
start-rune = 49 | ||
start-rune = 46 | ||
NodeTypeError | ||
end-rune = 48 | ||
error-message = Unexpected token at root level: TokenTypeLeftParen | ||
error-source = ( | ||
end-rune = 45 | ||
error-message = Unexpected token at root level: TokenTypeIdentifier | ||
error-source = foo | ||
input-source = arrow illegal function test | ||
start-rune = 49 | ||
start-rune = 46 |