Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pieter Koopman
Personal Prof public repository
Commits
6f439d61
Commit
6f439d61
authored
Sep 30, 2019
by
Markus Klinik
Browse files
simplify
parent
c992541c
Changes
2
Hide whitespace changes
Inline
Side-by-side
java-feedback-rascal/src/Assignment01Rules.rsc
View file @
6f439d61
...
...
@@ -11,14 +11,10 @@ import ClassHierarchy;
import Util;
set[Message] allAssignment01Rules(M3 model)
{
messages
= a01_student(model)
+ a01_group(model)
+ a01_io(model)
;
return messages;
}
= a01_student(model)
+ a01_group(model)
+ a01_io(model)
;
set[Message] a01_student(M3 model) = assertExists(findClass, model, "Student");
...
...
java-feedback-rascal/src/Assignment04Rules.rsc
View file @
6f439d61
...
...
@@ -11,14 +11,10 @@ import ImplementsAbstractMethod;
import Util;
set[Message] allAssignment04Rules(M3 model)
{
errors
= a04_question_exists(model)
+ a04_question_types(model)
+ a04_implement_abstract_methods(model)
;
return errors;
}
= a04_question_exists(model)
+ a04_question_types(model)
+ a04_implement_abstract_methods(model)
;
// A class Question should exist, and it should be an abstract class.
set[Message] a04_question_exists(M3 model)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment