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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JastAdd
Reusable Analysis
Commits
fdbee264
Commit
fdbee264
authored
5 years ago
by
Johannes Mey
Browse files
Options
Downloads
Patches
Plain Diff
fix bug in inheritance linking
parent
2626351b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scope4m/src/main/jastadd/ModelicaToScopeTree.jrag
+2
-1
2 additions, 1 deletion
scope4m/src/main/jastadd/ModelicaToScopeTree.jrag
with
2 additions
and
1 deletion
scope4m/src/main/jastadd/ModelicaToScopeTree.jrag
+
2
−
1
View file @
fdbee264
aspect ModelicaToScopeTree {
aspect ModelicaToScopeTree {
/** a relational nta attribute to compute the scope tree */
/** a relational nta attribute to compute the scope tree */
syn lazy ScopeTree SourceRoot.scopeTree() {
syn lazy ScopeTree SourceRoot.scopeTree() {
ScopeTree tree = (ScopeTree) scope();
ScopeTree tree = (ScopeTree) scope();
// add all top-level classes
// add all top-level classes
...
@@ -32,6 +32,7 @@ aspect ModelicaToScopeTree {
...
@@ -32,6 +32,7 @@ aspect ModelicaToScopeTree {
addInheritedScope(superClass.asScope());
addInheritedScope(superClass.asScope());
}
}
}
}
super.updateInheritance();
}
}
/** a relational nta collection attribute to compute scopes */
/** a relational nta collection attribute to compute scopes */
...
...
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