summaryrefslogtreecommitdiffstats
path: root/uitest/ui_logger_dsl/uno_commands.tx
blob: 597c855cb84062d39321d37d2492012bfb0ab87b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
    This file is for the grammar of the UNO commands.
    It has two modes: one with parameters and one without.
*/

UNOCommand:
    'Send UNO Command' '(' uno_command_name=STRING ')'  (parameters=parameter)?
;

parameter:
    '{'  parameter_data *= data ','? '}'
;

data:
     ','? key=STRING ':' value= value_type
;

value_type:
    INT|ID
;