Commit 3305f5b
authored
Move some annotation API calls to the typed API (#13051)
- Move `getNthComponentAnnotation`, `getComponentAnnotations`, and
`getElementAnnotations` to the typed API.
- Change `getNthComponentAnnotation` to use the same implementation as
`getElementAnnotation` instead of keeping the oddly specific behaviour
of only returning the annotations if the first one is a `Placement`
annotation.1 parent fce2b39 commit 3305f5b
File tree
15 files changed
+411
-595
lines changed- OMCompiler/Compiler
- FrontEnd
- NFFrontEnd
- Script
- testsuite/openmodelica/interactive-API
15 files changed
+411
-595
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3508 | 3508 | | |
3509 | 3509 | | |
3510 | 3510 | | |
| 3511 | + | |
| 3512 | + | |
| 3513 | + | |
| 3514 | + | |
| 3515 | + | |
| 3516 | + | |
| 3517 | + | |
| 3518 | + | |
| 3519 | + | |
| 3520 | + | |
| 3521 | + | |
| 3522 | + | |
3511 | 3523 | | |
3512 | 3524 | | |
3513 | 3525 | | |
| |||
3554 | 3566 | | |
3555 | 3567 | | |
3556 | 3568 | | |
| 3569 | + | |
| 3570 | + | |
| 3571 | + | |
| 3572 | + | |
| 3573 | + | |
| 3574 | + | |
| 3575 | + | |
| 3576 | + | |
| 3577 | + | |
| 3578 | + | |
| 3579 | + | |
| 3580 | + | |
| 3581 | + | |
| 3582 | + | |
| 3583 | + | |
| 3584 | + | |
| 3585 | + | |
| 3586 | + | |
| 3587 | + | |
| 3588 | + | |
| 3589 | + | |
| 3590 | + | |
3557 | 3591 | | |
3558 | 3592 | | |
3559 | 3593 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1694 | 1694 | | |
1695 | 1695 | | |
1696 | 1696 | | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
1697 | 1701 | | |
1698 | 1702 | | |
1699 | 1703 | | |
| |||
2401 | 2405 | | |
2402 | 2406 | | |
2403 | 2407 | | |
| 2408 | + | |
| 2409 | + | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
| 2413 | + | |
| 2414 | + | |
| 2415 | + | |
| 2416 | + | |
| 2417 | + | |
| 2418 | + | |
2404 | 2419 | | |
2405 | 2420 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3762 | 3762 | | |
3763 | 3763 | | |
3764 | 3764 | | |
| 3765 | + | |
| 3766 | + | |
| 3767 | + | |
| 3768 | + | |
| 3769 | + | |
| 3770 | + | |
| 3771 | + | |
| 3772 | + | |
| 3773 | + | |
| 3774 | + | |
| 3775 | + | |
| 3776 | + | |
3765 | 3777 | | |
3766 | 3778 | | |
3767 | 3779 | | |
| |||
3808 | 3820 | | |
3809 | 3821 | | |
3810 | 3822 | | |
| 3823 | + | |
| 3824 | + | |
| 3825 | + | |
| 3826 | + | |
| 3827 | + | |
| 3828 | + | |
| 3829 | + | |
| 3830 | + | |
| 3831 | + | |
| 3832 | + | |
| 3833 | + | |
| 3834 | + | |
| 3835 | + | |
| 3836 | + | |
| 3837 | + | |
| 3838 | + | |
| 3839 | + | |
| 3840 | + | |
| 3841 | + | |
| 3842 | + | |
| 3843 | + | |
| 3844 | + | |
3811 | 3845 | | |
3812 | 3846 | | |
3813 | 3847 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2113 | 2113 | | |
2114 | 2114 | | |
2115 | 2115 | | |
2116 | | - | |
2117 | | - | |
| 2116 | + | |
| 2117 | + | |
2118 | 2118 | | |
2119 | 2119 | | |
2120 | 2120 | | |
| |||
3198 | 3198 | | |
3199 | 3199 | | |
3200 | 3200 | | |
| 3201 | + | |
| 3202 | + | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
| 3206 | + | |
| 3207 | + | |
| 3208 | + | |
| 3209 | + | |
| 3210 | + | |
3201 | 3211 | | |
3202 | 3212 | | |
3203 | 3213 | | |
| |||
0 commit comments