summaryrefslogtreecommitdiff
path: root/uitest/ui_logger_dsl/ui_logger_dsl_grammar.tx
blob: f3aaeb1ccb906e3ccd93e7abfe83a1510669d20a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//this file is to define the new dsl grammar
/*
  This file just Import all Grammar Statments from all other files to this file 
  The Compiler just work with this file to Compile it
  Each file of these imported file has a Comments related to it's content
*/ 

import dialog_commands
import starter_commands
import uno_commands
import UI_Object_commands
import Special_commands
import General_commands

UILogger:
    commands*=Command   
;

Command:
  UNOCommand | StarterCommand | UIObjectCommand | DialogCommand  |
  SpecialCommand | GeneralCommand | Comment
;
/*
  The Comment Command is just for give the ability to write a Comment 
  if you want to write a test Case in the new dsl language
*/
Comment:
  /\/\/.*$/
;