Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Reusable Analysis
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JastAdd
Reusable Analysis
Commits
2f872123
Commit
2f872123
authored
5 years ago
by
Johannes Mey
Browse files
Options
Downloads
Patches
Plain Diff
remove debug output in SM, make backlink non-optional in SM
parent
952dbf63
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
statemachine/src/main/jastadd/mapping/SMtoDG.jrag
+1
-7
1 addition, 7 deletions
statemachine/src/main/jastadd/mapping/SMtoDG.jrag
statemachine/src/main/jastadd/mapping/SMtoDG.relast
+1
-1
1 addition, 1 deletion
statemachine/src/main/jastadd/mapping/SMtoDG.relast
with
2 additions
and
8 deletions
statemachine/src/main/jastadd/mapping/SMtoDG.jrag
+
1
−
7
View file @
2f872123
aspect SMtoDG {
syn DependencyGraph StateMachine.dependencyGraph() {
DependencyGraph dg = new DependencyGraph();
dg.setStateMachine(this);
Map<State,Component> componentMap = new HashMap<>();
...
...
@@ -15,13 +14,8 @@ aspect SMtoDG {
for (Transition t: transitions()) {
Component to = componentMap.get(t.getTo());
Component from = componentMap.get(t.getFrom());
//if (!from.getToList().contains(to)) {
logger.info("adding {} -> {}", from, to);
from.addTo(to);
//}
}
return dg;
}
...
...
This diff is collapsed.
Click to expand it.
statemachine/src/main/jastadd/mapping/SMtoDG.relast
+
1
−
1
View file @
2f872123
rel DependencyGraph.StateMachine -> StateMachine;
rel Component.State -> State;
rel DependencyGraph.StateMachine? -> StateMachine;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment