Skip to content

Commit

Permalink
Item parser: Add missing group item aggregation functions (openhab#2567)
Browse files Browse the repository at this point in the history
  • Loading branch information
mherwege authored May 7, 2024
1 parent 8779dcf commit 6bb52b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundles/org.openhab.ui/web/src/assets/items-lexer.nearley
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
string: { match: /"(?:\\["\\]|[^\n"\\])*"/, value: x => x.slice(1, -1) },
itemtype: ['Group ', 'Number ', 'Switch ', 'Rollershutter ', 'String ', 'Dimmer ', 'Contact ', 'DateTime ', 'Color ', 'Player ', 'Location ', 'Call ', 'Image '],
membertype: [':Number', ':Switch', ':Rollershutter', ':String', ':Dimmer', ':Contact', ':DateTime', ':Color', ':Player', ':Location', ':Call', ':Image'],
aggfunc: ['AVG', 'SUM', 'MIN', 'MAX', 'OR', 'AND', 'COUNT', 'LATEST', 'EARLIEST', 'EQUALITY'],
aggfunc: ['AVG', 'SUM', 'MIN', 'MAX', 'OR', 'AND', 'NOR', 'NAND', 'COUNT', 'LATEST', 'EARLIEST', 'EQUALITY'],
identifier: /(?:[A-Za-z_][A-Za-z0-9_]*)|(?:[0-9]+[A-Za-z_][A-Za-z0-9_]*)/,
lparen: '(',
rparen: ')',
Expand Down

0 comments on commit 6bb52b5

Please sign in to comment.