94fc8eaba8
Change-Id: I8406bdf375cf83d504e45a5c8f27ce2ceb1f9c51 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130190 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
29 lines
649 B
Text
29 lines
649 B
Text
/*
|
|
This file is for defining the DSL grammar.
|
|
This file imports all grammar rules from all the other files.
|
|
The compiler works with this file.
|
|
Each imported file has comments related to its 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 rule is for having an ability to write a comment,
|
|
if you want to write a test case in the DSL
|
|
*/
|
|
Comment:
|
|
/\/\/.*$/
|
|
;
|