-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFASTPyComparisonOperator.class.st
More file actions
77 lines (62 loc) · 1.94 KB
/
FASTPyComparisonOperator.class.st
File metadata and controls
77 lines (62 loc) · 1.94 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
73
74
75
76
77
"
## Relations
======================
### Children
| Relation | Origin | Opposite | Type | Comment |
|---|
| `operands` | `FASTPyComparisonOperator` | `parentComparisonOperator` | `FASTPyExpression` | List of the operands of the comparison operands. For example if we have `a == b != c`, it will be a, b and c.|
## Properties
======================
| Name | Type | Default value | Comment |
|---|
| `operators` | `String` | nil | The comparators applied in order. Possible operators: <, <=, ==, !=, >=, >, <>, in, not in, is, is not|
"
Class {
#name : 'FASTPyComparisonOperator',
#superclass : 'FASTPyOperator',
#instVars : [
'#operands => FMMany type: #FASTPyExpression opposite: #parentComparisonOperator',
'#operators => FMProperty'
],
#category : 'FAST-Python-Model-Entities',
#package : 'FAST-Python-Model',
#tag : 'Entities'
}
{ #category : 'meta' }
FASTPyComparisonOperator class >> annotation [
<FMClass: #ComparisonOperator super: #FASTPyOperator>
<package: #'FAST-Python-Model'>
<generated>
^ self
]
{ #category : 'adding' }
FASTPyComparisonOperator >> addOperand: anObject [
<generated>
^ self operands add: anObject
]
{ #category : 'accessing' }
FASTPyComparisonOperator >> operands [
"Relation named: #operands type: #FASTPyExpression opposite: #parentComparisonOperator"
<generated>
<FMComment: 'List of the operands of the comparison operands. For example if we have `a == b != c`, it will be a, b and c.'>
<derived>
^ operands
]
{ #category : 'accessing' }
FASTPyComparisonOperator >> operands: anObject [
<generated>
operands value: anObject
]
{ #category : 'accessing' }
FASTPyComparisonOperator >> operators [
<FMProperty: #operators type: #String>
<generated>
<multivalued>
<FMComment: 'The comparators applied in order. Possible operators: <, <=, ==, !=, >=, >, <>, in, not in, is, is not'>
^ operators
]
{ #category : 'accessing' }
FASTPyComparisonOperator >> operators: anObject [
<generated>
operators := anObject
]