Commit 393e291
feat(cosmosdb): add comparison and bitwise shift operators (#42)
* feat(cosmosdb): add comparison and bitwise shift operators
Add support for comparison operators (<, <=, >, >=) and bitwise shift operators (<<, >>, >>>) to the CosmosDB parser grammar.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* fix(cosmosdb): remove duplicate angle bracket tokens to resolve lexer conflicts
Remove LA_BRACKET_SYMBOL and RA_BRACKET_SYMBOL tokens that were conflicting with LESS_THAN_OPERATOR and GREATER_THAN_OPERATOR. The angle bracket symbols are now properly defined as comparison operators.
This fixes ANTLR warnings about unreachable token values.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* chore: add bitwise operators in where clause
Signed-off-by: h3n4l <[email protected]>
---------
Signed-off-by: h3n4l <[email protected]>
Co-authored-by: Claude <[email protected]>1 parent 1143ed2 commit 393e291
File tree
5 files changed
+362
-274
lines changed- cosmosdb
- examples
5 files changed
+362
-274
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
73 | 81 | | |
74 | 82 | | |
75 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
101 | 109 | | |
102 | 110 | | |
103 | 111 | | |
| |||
0 commit comments