diff options
Diffstat (limited to 'org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language/src/main/resources/org')
-rw-r--r-- | org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language/src/main/resources/org/eclipse/viatra/solver/language/builtin.problem | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language/src/main/resources/org/eclipse/viatra/solver/language/builtin.problem b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language/src/main/resources/org/eclipse/viatra/solver/language/builtin.problem index 4975dad6..49b67d5a 100644 --- a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language/src/main/resources/org/eclipse/viatra/solver/language/builtin.problem +++ b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language/src/main/resources/org/eclipse/viatra/solver/language/builtin.problem | |||
@@ -1,7 +1,17 @@ | |||
1 | problem builtin. | 1 | problem builtin. |
2 | 2 | ||
3 | abstract class node { | 3 | abstract class node { |
4 | refers node[0..*] equals opposite equals | 4 | node[] equals opposite equals |
5 | } | 5 | } |
6 | 6 | ||
7 | predicate exists(node node). \ No newline at end of file | 7 | pred exists(node node). |
8 | |||
9 | enum bool { | ||
10 | true, false | ||
11 | } | ||
12 | |||
13 | class double. | ||
14 | |||
15 | class int extends double. | ||
16 | |||
17 | class string. \ No newline at end of file | ||