summaryrefslogtreecommitdiffstats
path: root/uitest/ui_logger_dsl/uno_commands.tx
blob: 15df9ef86f7f7daeb50f673de0028efcc1805260 (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 Command Statements
    It's Automatically have 2 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
;