Skip to content

Commit

Permalink
Merge c410b9e
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvc committed Nov 6, 2024
2 parents 73b610f + c410b9e commit 0f849af
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ GtInspectorContextIndexedTempNode >> tempIndex: anObject [

{ #category : #accessing }
GtInspectorContextIndexedTempNode >> variableTag [
^ 'temp'
^ 'temporary'
]
10 changes: 5 additions & 5 deletions src/GToolkit-Inspector/GtInspectorContextNamedTempNode.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ Class {
}

{ #category : #'instance creation' }
GtInspectorContextNamedTempNode class >> hostObject: aContext tempName: aString tempIndex: anInteger [
GtInspectorContextNamedTempNode class >> hostObject: aContext tempName: aTempName tempIndex: anInteger [
^ (self hostObject: aContext)
tempName: aString;
tempName: aTempName;
tempIndex: anInteger;
variableTag: ((aContext method argumentNames includes: aString)
variableTag: ((aContext hasMethodOrBlockParameterNamed: aTempName)
ifTrue: [ 'parameter' ]
ifFalse: [ 'temp' ])
ifFalse: [ 'temporary' ])
yourself
]

Expand Down Expand Up @@ -62,7 +62,7 @@ GtInspectorContextNamedTempNode >> tempName: aString [

{ #category : #accessing }
GtInspectorContextNamedTempNode >> variableTag [
^ tag ifNil: [ 'temp' ]
^ tag ifNil: [ 'temporary' ]
]

{ #category : #accessing }
Expand Down
9 changes: 9 additions & 0 deletions src/GToolkit-Inspector/GtInspectorDynamicNode.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ GtInspectorDynamicNode class >> hostObject: anObject label: aString value: anoth
yourself
]

{ #category : #'instance creation' }
GtInspectorDynamicNode class >> hostObject: anObject label: aString value: anotherObject tag: aTag [
^ (self hostObject: anObject)
label: aString;
rawValue: anotherObject;
variableTag: aTag;
yourself
]

{ #category : #accessing }
GtInspectorDynamicNode >> key [
^ label
Expand Down
2 changes: 1 addition & 1 deletion src/GToolkit-Inspector/GtInspectorIndexedNode.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ GtInspectorIndexedNode >> save: aValue [

{ #category : #accessing }
GtInspectorIndexedNode >> variableTag [
^ 'attribute'
^ 'slot'
]
2 changes: 1 addition & 1 deletion src/GToolkit-Inspector/GtInspectorProtoObjectNode.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ GtInspectorProtoObjectNode >> rawValue [

{ #category : #accessing }
GtInspectorProtoObjectNode >> variableTag [
^ 'attribute'
^ 'slot'
]
2 changes: 1 addition & 1 deletion src/GToolkit-Inspector/GtInspectorSlotNode.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ GtInspectorSlotNode >> slot: aSlot [

{ #category : #accessing }
GtInspectorSlotNode >> variableTag [
^ 'attribute'
^ 'slot'
]

0 comments on commit 0f849af

Please sign in to comment.