-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFASTPyAsPattern.class.st
More file actions
72 lines (56 loc) · 1.76 KB
/
FASTPyAsPattern.class.st
File metadata and controls
72 lines (56 loc) · 1.76 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
65
66
67
68
69
70
71
72
"
I represent the aliasing of an expression in Python. When the expression can only be an identifier, I store it as a property named ""alias"" instead of instantiating an AsPattern node.
## Relations
======================
### Parents
| Relation | Origin | Opposite | Type | Comment |
|---|
| `parentWithStatementItem` | `FASTPyTWithStatementItem` | `items` | `FASTPyWithStatement` | |
### Children
| Relation | Origin | Opposite | Type | Comment |
|---|
| `source` | `FASTPyAsPattern` | `parentAsPatternSource` | `FASTPyTAsPatternSource` | |
| `target` | `FASTPyAsPattern` | `parentAsPatternTarget` | `FASTPyTAsPatternTarget` | |
"
Class {
#name : 'FASTPyAsPattern',
#superclass : 'FASTPyEntity',
#traits : 'FASTPyTWithStatementItem',
#classTraits : 'FASTPyTWithStatementItem classTrait',
#instVars : [
'#source => FMOne type: #FASTPyTAsPatternSource opposite: #parentAsPatternSource',
'#target => FMOne type: #FASTPyTAsPatternTarget opposite: #parentAsPatternTarget'
],
#category : 'FAST-Python-Model-Entities',
#package : 'FAST-Python-Model',
#tag : 'Entities'
}
{ #category : 'meta' }
FASTPyAsPattern class >> annotation [
<FMClass: #AsPattern super: #FASTPyEntity>
<package: #'FAST-Python-Model'>
<generated>
^ self
]
{ #category : 'accessing' }
FASTPyAsPattern >> source [
"Relation named: #source type: #FASTPyTAsPatternSource opposite: #parentAsPatternSource"
<generated>
^ source
]
{ #category : 'accessing' }
FASTPyAsPattern >> source: anObject [
<generated>
source := anObject
]
{ #category : 'accessing' }
FASTPyAsPattern >> target [
"Relation named: #target type: #FASTPyTAsPatternTarget opposite: #parentAsPatternTarget"
<generated>
^ target
]
{ #category : 'accessing' }
FASTPyAsPattern >> target: anObject [
<generated>
target := anObject
]