Skip to content

Commit

Permalink
corrections to cgs
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlano authored Nov 18, 2024
1 parent 87dfbcb commit 2530560
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cg/JS2UML.cstl
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ yield _1 ; |--> if _yieldCount_ < _position_ then _1`updateForm _yieldCount_
Atomics.add _1 |--> _1`firstArg->at(_1`secondArg+1) := _1`firstArg->at(_1`secondArg+1) + _1`thirdArg ;\n
Atomics.and _1 |--> _1`firstArg->at(_1`secondArg+1) := MathLib.bitwiseAnd(_1`firstArg->at(_1`secondArg+1), _1`thirdArg) ; \n
Atomics.or _1 |--> _1`firstArg->at(_1`secondArg+1) := MathLib.bitwiseOr(_1`firstArg->at(_1`secondArg+1), _1`thirdArg) ; \n
Atomics.xor _1 |--> _1`firstArg->at(_1`secondArg+1) := := MathLib.bitwiseOr(_1`firstArg->at(_1`secondArg+1), _1`thirdArg) ; \n
Atomics.xor _1 |--> _1`firstArg->at(_1`secondArg+1) := := MathLib.bitwiseXor(_1`firstArg->at(_1`secondArg+1), _1`thirdArg) ; \n
Atomics.sub _1 |--> _1`firstArg->at(_1`secondArg+1) := _1`firstArg->at(_1`secondArg+1) - _1`thirdArg ;\n
Atomics.store _1 |--> _1`firstArg->at(_1`secondArg+1) := _1`thirdArg ; \n

Expand Down
8 changes: 4 additions & 4 deletions cg/python2UML.cstl
Original file line number Diff line number Diff line change
Expand Up @@ -1193,9 +1193,9 @@ _1 |-->OclAny


pandasType::
. read_csv _1 |-->Map
. read_json _1 |-->Map
. DataFrame _1 |-->Map
. read_csv _1 |-->OclDataTable
. read_json _1 |-->OclDataTable
. DataFrame _1 |-->OclDataTable
. Series _1 |-->Sequence

_1 |-->OclAny
Expand Down Expand Up @@ -1573,7 +1573,7 @@ _1 : _2 |-->.subrange(_1+1, _2)<when> _2 test
1 : |-->->tail()
_1 : |-->.subrange(_1+1)<when> _1 test
_1 |-->->at(_1)<when> _1 String
_1 |-->->select(_1)<when> _1`ocltype boolean
_1 |-->->selectRows(_1)<when> _1`ocltype boolean
_1 |-->->restrict(_1)<when> _1`ocltype Sequence
_1 |-->[_1+1]

Expand Down

0 comments on commit 2530560

Please sign in to comment.