| summaryrefslogtreecommitdiff | 
diff options
Diffstat (limited to 'instr-to-kodkod/parser/PropertyLexer.g4')
| -rw-r--r-- | instr-to-kodkod/parser/PropertyLexer.g4 | 13 | 
1 files changed, 13 insertions, 0 deletions
| diff --git a/instr-to-kodkod/parser/PropertyLexer.g4 b/instr-to-kodkod/parser/PropertyLexer.g4 new file mode 100644 index 0000000..27f1bca --- /dev/null +++ b/instr-to-kodkod/parser/PropertyLexer.g4 @@ -0,0 +1,13 @@ +lexer grammar PropertyLexer; + +TAG_EXISTING_KW: '(tag_existing'; +AND_OPERATOR_KW: '(and'; +OR_OPERATOR_KW: '(or'; +NOT_OPERATOR_KW: '(not'; +EXISTS_OPERATOR_KW: '(exists'; +FORALL_OPERATOR_KW: '(forall'; +ID: [a-zA-Z0-9_]+; +L_PAREN : '('; +R_PAREN : ')'; + +WS: [ \t\r\n]+ -> skip; | 


