-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFASTPyClassPattern.class.st
More file actions
64 lines (51 loc) · 1.49 KB
/
FASTPyClassPattern.class.st
File metadata and controls
64 lines (51 loc) · 1.49 KB
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
58
59
60
61
62
63
64
"
A class pattern is used in a case clause to match classes.
## Relations
======================
### Parents
| Relation | Origin | Opposite | Type | Comment |
|---|
| `parentCaseClause` | `FASTPyTPattern` | `pattern` | `FASTPyCaseClause` | |
| `parentKeywordPatternValue` | `FASTPyTPattern` | `value` | `FASTPyKeywordPattern` | |
| `parentUnionPattern` | `FASTPyTPattern` | `members` | `FASTPyUnionPattern` | |
### Children
| Relation | Origin | Opposite | Type | Comment |
|---|
| `elements` | `FASTPyClassPattern` | `parentClassPattern` | `FASTPyTClassPatternElement` | |
"
Class {
#name : 'FASTPyClassPattern',
#superclass : 'FASTPyEntity',
#traits : 'FASTPyTPattern',
#classTraits : 'FASTPyTPattern classTrait',
#instVars : [
'#elements => FMMany type: #FASTPyTClassPatternElement opposite: #parentClassPattern'
],
#category : 'FAST-Python-Model-Entities',
#package : 'FAST-Python-Model',
#tag : 'Entities'
}
{ #category : 'meta' }
FASTPyClassPattern class >> annotation [
<FMClass: #ClassPattern super: #FASTPyEntity>
<package: #'FAST-Python-Model'>
<generated>
^ self
]
{ #category : 'adding' }
FASTPyClassPattern >> addElement: anObject [
<generated>
^ self elements add: anObject
]
{ #category : 'accessing' }
FASTPyClassPattern >> elements [
"Relation named: #elements type: #FASTPyTClassPatternElement opposite: #parentClassPattern"
<generated>
<derived>
^ elements
]
{ #category : 'accessing' }
FASTPyClassPattern >> elements: anObject [
<generated>
elements value: anObject
]