-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFASTPyAssertStatement.class.st
More file actions
56 lines (44 loc) · 1.24 KB
/
FASTPyAssertStatement.class.st
File metadata and controls
56 lines (44 loc) · 1.24 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
"
I represent an assert statement node in python. It hold a collection of expressions to assert.
## Relations
======================
### Children
| Relation | Origin | Opposite | Type | Comment |
|---|
| `expressions` | `FASTPyAssertStatement` | `parentAssertStatement` | `FASTPyExpression` | The expressions asserted|
"
Class {
#name : 'FASTPyAssertStatement',
#superclass : 'FASTPyStatement',
#instVars : [
'#expressions => FMMany type: #FASTPyExpression opposite: #parentAssertStatement'
],
#category : 'FAST-Python-Model-Entities',
#package : 'FAST-Python-Model',
#tag : 'Entities'
}
{ #category : 'meta' }
FASTPyAssertStatement class >> annotation [
<FMClass: #AssertStatement super: #FASTPyStatement>
<package: #'FAST-Python-Model'>
<generated>
^ self
]
{ #category : 'adding' }
FASTPyAssertStatement >> addExpression: anObject [
<generated>
^ self expressions add: anObject
]
{ #category : 'accessing' }
FASTPyAssertStatement >> expressions [
"Relation named: #expressions type: #FASTPyExpression opposite: #parentAssertStatement"
<generated>
<FMComment: 'The expressions asserted'>
<derived>
^ expressions
]
{ #category : 'accessing' }
FASTPyAssertStatement >> expressions: anObject [
<generated>
expressions value: anObject
]