-
Notifications
You must be signed in to change notification settings - Fork 68
/
CGLRInitializerNode.class.st
57 lines (45 loc) · 1.26 KB
/
CGLRInitializerNode.class.st
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Class {
#name : #CGLRInitializerNode,
#superclass : #CGLRAbstractNode,
#instVars : [
'initializers'
],
#category : #CAST
}
{ #category : #'instance creation' }
CGLRInitializerNode class >> initializers: aCollection [
^ self new
initializers: aCollection;
yourself
]
{ #category : #comparing }
CGLRInitializerNode >> = anObject [
"Answer whether the receiver and anObject represent the same object."
self == anObject ifTrue: [ ^ true ].
self class = anObject class ifFalse: [ ^ false ].
^ initializers = anObject initializers
]
{ #category : #generated }
CGLRInitializerNode >> acceptVisitor: anAbstractVisitor [
^ anAbstractVisitor visitInitializer: self
]
{ #category : #comparing }
CGLRInitializerNode >> hash [
"Answer an integer value that is related to the identity of the receiver."
^ initializers hash
]
{ #category : #'generated-initialize-release' }
CGLRInitializerNode >> initialize [
super initialize.
initializers := OrderedCollection new: 2.
]
{ #category : #generated }
CGLRInitializerNode >> initializers [
^ initializers
]
{ #category : #generated }
CGLRInitializerNode >> initializers: anOrderedCollection [
self setParents: self initializers to: nil.
initializers := anOrderedCollection.
self setParents: self initializers to: self
]