-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add methods to handle declared type dependencies.
- Loading branch information
Showing
6 changed files
with
61 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Extension { #name : #FamixTClass } | ||
|
||
{ #category : #'*MooseIDE-Dependency' } | ||
FamixTClass >> addDeclaredTypesIn: dependencies [ | ||
|
||
self children do: [ :c | c addDeclaredTypesIn: dependencies ]. | ||
|
||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Extension { #name : #FamixTMethod } | ||
|
||
{ #category : #'*MooseIDE-Dependency' } | ||
FamixTMethod >> addDeclaredTypesIn: dependencies [ | ||
|
||
self children do: [ :c | c addDeclaredTypesIn: dependencies ]. | ||
self declaredType ifNotNil: [ dependencies add: self declaredType ] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Extension { #name : #FamixTPackage } | ||
|
||
{ #category : #'*MooseIDE-Dependency' } | ||
FamixTPackage >> addDeclaredTypesIn: dependencies [ | ||
|
||
self children do: [ :c | c addDeclaredTypesIn: dependencies ]. | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Extension { #name : #FamixTTypedEntity } | ||
|
||
{ #category : #'*MooseIDE-Dependency' } | ||
FamixTTypedEntity >> addDeclaredTypesIn: dependencies [ | ||
|
||
self declaredType ifNotNil: [dependencies add: self declaredType. "1haltIf: [ dependencies anySatisfy: [:e | e isLocalVariable] ]".] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters