-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFASTPyElifClause.class.st
More file actions
65 lines (53 loc) · 1.91 KB
/
FASTPyElifClause.class.st
File metadata and controls
65 lines (53 loc) · 1.91 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
"
## Relations
======================
### Parents
| Relation | Origin | Opposite | Type | Comment |
|---|
| `fastBehaviouralParent` | `FASTTStatementBlock` | `statementBlock` | `FASTTWithStatements` | Behavioural entity containing the statement block.|
| `parentIfStatement` | `FASTPyElifClause` | `elifClauses` | `FASTPyIfStatement` | |
| `parentLoopStatement` | `FASTTStatement` | `body` | `FASTTLoopStatement` | Optional loop of which this statement is the body|
| `statementContainer` | `FASTTStatement` | `statements` | `FASTTStatementBlock` | Block containing this statement.|
### Children
| Relation | Origin | Opposite | Type | Comment |
|---|
| `condition` | `FASTTWithCondition` | `parentConditional` | `FASTTExpression` | The boolean condition tested|
| `statements` | `FASTTStatementBlock` | `statementContainer` | `FASTTStatement` | Statements enclosed in this block|
## Properties
======================
| Name | Type | Default value | Comment |
|---|
| `endPos` | `Number` | nil | |
| `startPos` | `Number` | nil | |
"
Class {
#name : 'FASTPyElifClause',
#superclass : 'FASTPyEntity',
#traits : 'FASTTConditionalStatement + FASTTStatementBlock',
#classTraits : 'FASTTConditionalStatement classTrait + FASTTStatementBlock classTrait',
#instVars : [
'#parentIfStatement => FMOne type: #FASTPyIfStatement opposite: #elifClauses'
],
#category : 'FAST-Python-Model-Entities',
#package : 'FAST-Python-Model',
#tag : 'Entities'
}
{ #category : 'meta' }
FASTPyElifClause class >> annotation [
<FMClass: #ElifClause super: #FASTPyEntity>
<package: #'FAST-Python-Model'>
<generated>
^ self
]
{ #category : 'accessing' }
FASTPyElifClause >> parentIfStatement [
"Relation named: #parentIfStatement type: #FASTPyIfStatement opposite: #elifClauses"
<generated>
<container>
^ parentIfStatement
]
{ #category : 'accessing' }
FASTPyElifClause >> parentIfStatement: anObject [
<generated>
parentIfStatement := anObject
]