@@ -254,6 +254,8 @@ _1 & _2 |-->MathLib.bitwiseAnd(_1, _2)
254254_1 ^ _2 |-->MathLib.bitwiseXor(_1, _2)
255255_1 | _2 |-->MathLib.bitwiseOr(_1, _2)
256256
257+ _1 _2 _3 |-->_1_2<when> _2`isBasicTypeTrailer true, _3 matches .value
258+
257259_1 _2 |-->OclIterator.newOclIterator_Function(lambda _i : int in self._1(_i))<when> _1 generator, _2 trailer
258260
259261_1 _2 |-->(_1.new_1()).initialise_2<when> _1 Class, _2 trailer
@@ -673,6 +675,18 @@ _1 |-->_1
673675_1 : _2 |-->_1
674676
675677
678+ isBasicTypeTrailer::
679+ . _1 |-->true<when> _1 int
680+ . _1 |-->true<when> _1 real
681+ . _1 |-->true<when> _1 String
682+ . _1 |-->true<when> _1 boolean
683+ . _1 |-->false
684+
685+
686+
687+
688+
689+
676690trailer::
677691. count _1 |-->->count_1
678692. index _1 |-->->indexOf_1 - 1
@@ -919,6 +933,29 @@ mathType::
919933_1 |-->OclAny
920934
921935
936+ numpyType::
937+ . arange _1 |-->Sequence
938+ . shape _1 |-->Sequence
939+ . empty _1 |-->Sequence
940+ . empty_like _1 |-->Sequence
941+ . eye _1 |-->Sequence
942+ . identity _1 |-->Sequence
943+ . ones _1 |-->Sequence
944+ . ones_like _1 |-->Sequence
945+ . zeros _1 |-->Sequence
946+ . zeros_like _1 |-->Sequence
947+ . full _1 |-->Sequence
948+ . full_like _1 |-->Sequence
949+ . array _1 |-->Sequence
950+ . asarray _1 |-->Sequence
951+ . asanyarray _1 |-->Sequence
952+ . ascontiguousarray _1 |-->Sequence
953+ . asmatrix _1 |-->Sequence
954+ . copy _1 |-->Sequence
955+ . fromstring _1 |-->Sequence
956+ . linspace _1 |-->Sequence
957+
958+
922959pickleTrailer::
923960. dump _1 |-->_1`secondArg.writeObject(_1`firstArg)
924961. load _1 |-->_1.readObject()
@@ -1524,6 +1561,8 @@ asyncio _1 |-->OclProcess
15241561
15251562math _1 |-->_1`mathType
15261563re _1 |-->_1`reType
1564+ np _1 |-->_1`numpyType
1565+ numpy _1 |-->_1`numpyType
15271566
15281567_1 if _2 else _3 |-->_1`ocltype
15291568lambda _1 : _2 |-->Function
@@ -1804,7 +1843,7 @@ _1 |-->_1`classcontent<when> _1 compound_stmt
18041843
18051844_1 |-->_1`methodDefinition<when> _1 funcdef
18061845
1807- _1 _2 |--> static attribute _1 : _2`ocltype _2;\n<when> _2 assign_part
1846+ _1 _2 |--> static attribute _1 : _2`ocltype _2;\n<when> _2 assign_part <action> _1 _2`ocltype
18081847
18091848_1 |-->
18101849_* |-->
0 commit comments