Skip to content

Commit 7c7ae89

Browse files
committed
Better roassal graphs
1 parent 8d5c60d commit 7c7ae89

6 files changed

Lines changed: 67 additions & 1 deletion

File tree

src/BaselineOfExecutableRequirements/BaselineOfExecutableRequirements.class.st

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ BaselineOfExecutableRequirements >> coreDependencies: spec [
3737
BaselineOfExecutableRequirements >> corePackages: spec [
3838

3939
spec package: 'ExecutableRequirements'.
40-
spec package: 'ExecutableRequirements-Impacts'.
4140

41+
spec
42+
package: 'ExecutableRequirements-Roassal'
43+
with: [ spec requires: #( 'ExecutableRequirements' ) ].
4244
spec
4345
package: 'ExecutableRequirements-Examples'
4446
with: [ spec requires: #( 'ExecutableRequirements' ) ].

src/ExecutableRequirements-Examples/ExReqExampleTODORequirements.class.st

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,17 @@ ExReqExampleTODORequirements >> inspectRepositoryReport [
1717
repository asReport inspect
1818
]
1919

20+
{ #category : 'as yet unclassified' }
21+
ExReqExampleTODORequirements >> openOnExample [
22+
23+
<script: 'ExReqExampleTODORequirements new openOnExample'>
24+
| repository |
25+
repository := ExReqRepository new
26+
pragmaSelector: #ExReqTODO;
27+
yourself.
28+
^ ExReqUIPresenter new repositoryReport: repository asReport ; open
29+
]
30+
2031
{ #category : 'tests' }
2132
ExReqExampleTODORequirements >> todoReq1 [
2233

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
"
2+
Please describe the package using the class comment of the included manifest class. The manifest class also includes other additional metadata for the package. These meta data are used by other tools such as the SmalllintManifestChecker and the critics Browser
3+
"
4+
Class {
5+
#name : 'ManifestExecutableRequirementsExamples',
6+
#superclass : 'PackageManifest',
7+
#category : 'ExecutableRequirements-Examples-Manifest',
8+
#package : 'ExecutableRequirements-Examples',
9+
#tag : 'Manifest'
10+
}

src/ExecutableRequirements/ExReqRepositoryReport.class.st

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,27 @@ ExReqRepositoryReport >> announcer [
5252
^ announcer
5353
]
5454

55+
{ #category : 'as yet unclassified' }
56+
ExReqRepositoryReport >> associatedClasses [
57+
^ self repository associatedClasses.
58+
]
59+
60+
{ #category : 'as yet unclassified' }
61+
ExReqRepositoryReport >> associatedMethods [
62+
^ self repository associatedMethods.
63+
]
64+
65+
{ #category : 'as yet unclassified' }
66+
ExReqRepositoryReport >> associatedNodes [
67+
^ self repository associatedNodes.
68+
]
69+
70+
{ #category : 'as yet unclassified' }
71+
ExReqRepositoryReport >> associatedPackages [
72+
73+
^ self repository associatedPackages.
74+
]
75+
5576
{ #category : 'as yet unclassified' }
5677
ExReqRepositoryReport >> createTracingPoints [
5778

src/ExecutableRequirements/ExReqTracingPoint.class.st

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,18 @@ ExReqTracingPoint >> preconditionMetaLink [
105105
arguments: #( context )
106106
]
107107

108+
{ #category : 'removing' }
109+
ExReqTracingPoint >> remove [
110+
111+
| method |
112+
super remove.
113+
method := self target node methodNode compiledMethod.
114+
method methodClass
115+
compile: method sourceCode
116+
classified: method protocolName
117+
notifying: nil
118+
]
119+
108120
{ #category : 'accessing' }
109121
ExReqTracingPoint >> stepReports [
110122

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
"
2+
Please describe the package using the class comment of the included manifest class. The manifest class also includes other additional metadata for the package. These meta data are used by other tools such as the SmalllintManifestChecker and the critics Browser
3+
"
4+
Class {
5+
#name : 'ManifestExecutableRequirements',
6+
#superclass : 'PackageManifest',
7+
#category : 'ExecutableRequirements-Manifest',
8+
#package : 'ExecutableRequirements',
9+
#tag : 'Manifest'
10+
}

0 commit comments

Comments
 (0)