|
38 | 38 | | `parentExpressionRight` | `FASTTExpression` | `rightOperand` | `FASTTBinaryExpression` | Parent (binary) expression of which I am right side| |
39 | 39 | | `parentInterpolation` | `FASTPyExpression` | `expression` | `FASTPyInterpolation` | | |
40 | 40 | | `parentMatchStatement` | `FASTPyExpression` | `subject` | `FASTPyMatchStatement` | | |
| 41 | +| `parentSubscriptIndice` | `FASTPyExpression` | `indices` | `FASTPySubscript` | My parent if I am defining an index to select of a subscript (if it's the case)| |
| 42 | +| `parentSubscriptValue` | `FASTPyExpression` | `value` | `FASTPySubscript` | My parent if I define the receiver of a subscript (if it's the case).| |
41 | 43 | | `parentType` | `FASTPyTTypeContent` | `content` | `FASTPyType` | | |
42 | 44 | | `parentUnaryOperator` | `FASTPyExpression` | `argument` | `FASTPyTUnaryOperator` | Parent unary operator in which I am.| |
43 | 45 | | `parentWalrus` | `FASTPyExpression` | `value` | `FASTPyWalrus` | | |
44 | 46 | | `prarentPrintStatement` | `FASTPyExpression` | `expressions` | `FASTPyPrintStatement` | | |
45 | 47 | | `returnOwner` | `FASTTExpression` | `expression` | `FASTTReturnStatement` | The return statement that own the expression (if it's the case)| |
46 | 48 | | `sliceOwner` | `FASTPyExpression` | `components` | `FASTPySlice` | Slice in which I am a component (start, end or step) (If it's the case)'| |
47 | | -| `subscriptIndiceOwner` | `FASTPyExpression` | `indices` | `FASTPySubscript` | My parent if I am defining an index to select of a subscript (if it's the case)| |
48 | | -| `subscriptValueOwner` | `FASTPyExpression` | `value` | `FASTPySubscript` | My parent if I define the receiver of a subscript (if it's the case).| |
49 | 49 |
|
50 | 50 |
|
51 | 51 | ## Properties |
@@ -89,12 +89,12 @@ Class { |
89 | 89 | '#parentExceptClause => FMOne type: #FASTPyExceptClause opposite: #expressions', |
90 | 90 | '#parentInterpolation => FMOne type: #FASTPyInterpolation opposite: #expression', |
91 | 91 | '#parentMatchStatement => FMOne type: #FASTPyMatchStatement opposite: #subject', |
| 92 | + '#parentSubscriptIndice => FMOne type: #FASTPySubscript opposite: #indices', |
| 93 | + '#parentSubscriptValue => FMOne type: #FASTPySubscript opposite: #value', |
92 | 94 | '#parentUnaryOperator => FMOne type: #FASTPyTUnaryOperator opposite: #argument', |
93 | 95 | '#parentWalrus => FMOne type: #FASTPyWalrus opposite: #value', |
94 | 96 | '#prarentPrintStatement => FMOne type: #FASTPyPrintStatement opposite: #expressions', |
95 | | - '#sliceOwner => FMOne type: #FASTPySlice opposite: #components', |
96 | | - '#subscriptIndiceOwner => FMOne type: #FASTPySubscript opposite: #indices', |
97 | | - '#subscriptValueOwner => FMOne type: #FASTPySubscript opposite: #value' |
| 97 | + '#sliceOwner => FMOne type: #FASTPySlice opposite: #components' |
98 | 98 | ], |
99 | 99 | #category : 'FAST-Python-Model-Entities', |
100 | 100 | #package : 'FAST-Python-Model', |
@@ -736,6 +736,55 @@ FASTPyExpression >> parentMatchStatementGroup [ |
736 | 736 | ^ MooseSpecializedGroup with: self parentMatchStatement |
737 | 737 | ] |
738 | 738 |
|
| 739 | +{ #category : 'accessing' } |
| 740 | +FASTPyExpression >> parentSubscriptIndice [ |
| 741 | + "Relation named: #parentSubscriptIndice type: #FASTPySubscript opposite: #indices" |
| 742 | + |
| 743 | + <generated> |
| 744 | + <FMComment: 'My parent if I am defining an index to select of a subscript (if it''s the case)'> |
| 745 | + <container> |
| 746 | + ^ parentSubscriptIndice |
| 747 | +] |
| 748 | + |
| 749 | +{ #category : 'accessing' } |
| 750 | +FASTPyExpression >> parentSubscriptIndice: anObject [ |
| 751 | + |
| 752 | + <generated> |
| 753 | + parentSubscriptIndice := anObject |
| 754 | +] |
| 755 | + |
| 756 | +{ #category : 'navigation' } |
| 757 | +FASTPyExpression >> parentSubscriptIndiceGroup [ |
| 758 | + <generated> |
| 759 | + <navigation: 'ParentSubscriptIndice'> |
| 760 | + ^ MooseSpecializedGroup with: self parentSubscriptIndice |
| 761 | +] |
| 762 | + |
| 763 | +{ #category : 'accessing' } |
| 764 | +FASTPyExpression >> parentSubscriptValue [ |
| 765 | + "Relation named: #parentSubscriptValue type: #FASTPySubscript opposite: #value" |
| 766 | + |
| 767 | + <generated> |
| 768 | + <FMComment: 'My parent if I define the receiver of a subscript (if it''s the case).'> |
| 769 | + <container> |
| 770 | + <derived> |
| 771 | + ^ parentSubscriptValue |
| 772 | +] |
| 773 | + |
| 774 | +{ #category : 'accessing' } |
| 775 | +FASTPyExpression >> parentSubscriptValue: anObject [ |
| 776 | + |
| 777 | + <generated> |
| 778 | + parentSubscriptValue := anObject |
| 779 | +] |
| 780 | + |
| 781 | +{ #category : 'navigation' } |
| 782 | +FASTPyExpression >> parentSubscriptValueGroup [ |
| 783 | + <generated> |
| 784 | + <navigation: 'ParentSubscriptValue'> |
| 785 | + ^ MooseSpecializedGroup with: self parentSubscriptValue |
| 786 | +] |
| 787 | + |
739 | 788 | { #category : 'accessing' } |
740 | 789 | FASTPyExpression >> parentUnaryOperator [ |
741 | 790 | "Relation named: #parentUnaryOperator type: #FASTPyTUnaryOperator opposite: #argument" |
@@ -831,52 +880,3 @@ FASTPyExpression >> sliceOwnerGroup [ |
831 | 880 | <navigation: 'SliceOwner'> |
832 | 881 | ^ MooseSpecializedGroup with: self sliceOwner |
833 | 882 | ] |
834 | | - |
835 | | -{ #category : 'accessing' } |
836 | | -FASTPyExpression >> subscriptIndiceOwner [ |
837 | | - "Relation named: #subscriptIndiceOwner type: #FASTPySubscript opposite: #indices" |
838 | | - |
839 | | - <generated> |
840 | | - <FMComment: 'My parent if I am defining an index to select of a subscript (if it''s the case)'> |
841 | | - <container> |
842 | | - ^ subscriptIndiceOwner |
843 | | -] |
844 | | - |
845 | | -{ #category : 'accessing' } |
846 | | -FASTPyExpression >> subscriptIndiceOwner: anObject [ |
847 | | - |
848 | | - <generated> |
849 | | - subscriptIndiceOwner := anObject |
850 | | -] |
851 | | - |
852 | | -{ #category : 'navigation' } |
853 | | -FASTPyExpression >> subscriptIndiceOwnerGroup [ |
854 | | - <generated> |
855 | | - <navigation: 'SubscriptIndiceOwner'> |
856 | | - ^ MooseSpecializedGroup with: self subscriptIndiceOwner |
857 | | -] |
858 | | - |
859 | | -{ #category : 'accessing' } |
860 | | -FASTPyExpression >> subscriptValueOwner [ |
861 | | - "Relation named: #subscriptValueOwner type: #FASTPySubscript opposite: #value" |
862 | | - |
863 | | - <generated> |
864 | | - <FMComment: 'My parent if I define the receiver of a subscript (if it''s the case).'> |
865 | | - <container> |
866 | | - <derived> |
867 | | - ^ subscriptValueOwner |
868 | | -] |
869 | | - |
870 | | -{ #category : 'accessing' } |
871 | | -FASTPyExpression >> subscriptValueOwner: anObject [ |
872 | | - |
873 | | - <generated> |
874 | | - subscriptValueOwner := anObject |
875 | | -] |
876 | | - |
877 | | -{ #category : 'navigation' } |
878 | | -FASTPyExpression >> subscriptValueOwnerGroup [ |
879 | | - <generated> |
880 | | - <navigation: 'SubscriptValueOwner'> |
881 | | - ^ MooseSpecializedGroup with: self subscriptValueOwner |
882 | | -] |
0 commit comments