summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-07-31 15:05:30 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-07-31 15:05:30 +0200
commit067f596822b80b2786ce2bb895a593d479516cad (patch)
tree52c7fed0824edd09545f9577e5f08f206ee7b628 /instr-to-kodkod/parser/PropertyLexer.g4
parent05fbf26dbb1b1f19e3ef76a0d0789806fa7be12c (diff)
First shot at the handling of regular expressions.
Diffstat (limited to 'instr-to-kodkod/parser/PropertyLexer.g4')
-rw-r--r--instr-to-kodkod/parser/PropertyLexer.g44
1 files changed, 3 insertions, 1 deletions
diff --git a/instr-to-kodkod/parser/PropertyLexer.g4 b/instr-to-kodkod/parser/PropertyLexer.g4
index 64fccb0..ec01c88 100644
--- a/instr-to-kodkod/parser/PropertyLexer.g4
+++ b/instr-to-kodkod/parser/PropertyLexer.g4
@@ -12,7 +12,9 @@ TAG_EXISTING_KW: '(tag_existing' SEP;
AND_OPERATOR_KW: '(and' SEP;
OR_OPERATOR_KW: '(or' SEP;
NOT_OPERATOR_KW: '(not' SEP ;
-IMPLIES_OPERATOR_KW: '(implies' SEP ;
+IMPLIES_OPERATOR_KW: '(implies' SEP;
+
+REGEX_SPECIAL_PREDICATE_KW: '(string_matches' SEP;
EXISTS_OPERATOR_KW: '(exists' SEP;
FORALL_OPERATOR_KW: '(forall' SEP;