Commit f6054373 authored by Sarah Grebing's avatar Sarah Grebing

Parser-Erweiterung closable and derivable TermLiteral

parent 4ef5424d
Pipeline #12143 failed with stage
in 1 minute and 34 seconds
grammar ScriptLanguage;
//TODO There is still sth. missing:import statements at the beginning to allow scripts from other files
/*start
: stmtList
;
......@@ -78,8 +76,8 @@ literals :
</pre>*/
matchPattern
: MATCH pattern=expression
(USING LBRACKET argList RBRACKET)?
: MATCH (pattern=expression
(USING LBRACKET argList RBRACKET)?) | DERIVABLE TERM_LITERAL | IFCLOSED
;
scriptVar
......@@ -149,7 +147,7 @@ BOOL: 'bool' ;
TERMTYPE : 'term' ;*/
FOREACH : 'foreach' ;
THEONLY : 'theonly' ;
CLOSED_BY : 'closed_by';
ISCLOSED: 'isClosable';
DERIVABLE : 'derivable';
INDENT : '{' ;
DEDENT : '}' ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment