aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/language/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/language/src/main/java')
-rw-r--r--subprojects/language/src/main/java/tools/refinery/language/Problem.xtext8
1 files changed, 4 insertions, 4 deletions
diff --git a/subprojects/language/src/main/java/tools/refinery/language/Problem.xtext b/subprojects/language/src/main/java/tools/refinery/language/Problem.xtext
index 93d066af..74b0d50e 100644
--- a/subprojects/language/src/main/java/tools/refinery/language/Problem.xtext
+++ b/subprojects/language/src/main/java/tools/refinery/language/Problem.xtext
@@ -64,23 +64,23 @@ NegativeLiteral:
64 modality=Modality? "!" atom=Atom; 64 modality=Modality? "!" atom=Atom;
65 65
66enum ComparisonOp: 66enum ComparisonOp:
67 LESS="<" | LESS_EQ="<=" | GREATER=">" | GREATER_EQ=">=" | EQ="=:=" | NOT_EQ="=!=" ; 67 LESS="<" | LESS_EQ="<=" | GREATER=">" | GREATER_EQ=">=" | EQ="==";
68 68
69CountLiteral: 69CountLiteral:
70 modality=Modality? "count" "{" atom=Atom "}" op=ComparisonOp threshold=INT; 70 modality=Modality? "count" atom=Atom op=ComparisonOp threshold=INT;
71 71
72Action: 72Action:
73 AssertionAction | DeleteAction | NewAction; 73 AssertionAction | DeleteAction | NewAction;
74 74
75AssertionAction: 75AssertionAction:
76 value=ShortLogicValue? atom=Atom | 76 value=ShortLogicValue? atom=Atom |
77 atom=Atom (overwrite?="=" | ":") value=LogicValue; 77 atom=Atom (overwrite?=":=" | "<:") value=LogicValue;
78 78
79DeleteAction: 79DeleteAction:
80 "delete" variableOrNode=[VariableOrNode|QualifiedName]; 80 "delete" variableOrNode=[VariableOrNode|QualifiedName];
81 81
82NewAction: 82NewAction:
83 "new" variable=NewVariable (":" parent=[VariableOrNode|QualifiedName])?; 83 "new" variable=NewVariable ("<:" parent=[VariableOrNode|QualifiedName])?;
84 84
85NewVariable: 85NewVariable:
86 name=Identifier; 86 name=Identifier;