ETSI's Bug Tracker - Ext Pack: Object-oriented features (ES 203 790)
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0007854 | Ext Pack: Object-oriented features (ES 203 790) | [All Projects] General | public | 07-08-2019 11:28 | 09-01-2020 16:04

Reporter | Jacob Wieland - Spirent |
Assigned To | Jens Grabowski |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version |  | Fixed in Version |  |

Summary | 0007854: Better BNF derivations for 'this' and this-related entities are necessary

Description

To allow method calls on 'this' as well as referencing fields of this on the left hand side and fields of 'this' and 'this' itself on the right hand side, the following changes need to be made:
Change the BNF rule for ObjectInstance to:
ObjectInstance ::= ThisOp
| ValueRef
| FunctionInstance [ ExtendedFieldReference ]
Add a change for BNF rule ValueRef (to allow assignments to object fields):
ValueRef ::= ( Identifier | ThisOp Dot Identifier ) [ExtendedFieldReference]
Add a change for BNF rule ReferencedValue:
ReferencedValue ::= ( ( Identifier | ThisOp ) [ExtendedFieldReference] )
| ReferencedEnumValue
Remove the BNF rule change for ConfigurationOps

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CR7854.docx (131,342) 07-08-2019 11:49 http://oldforge.etsi.org/mantis/file_download.php?file_id=3830&type=bug CR7854-2.docx (133,828) 07-08-2019 14:01 http://oldforge.etsi.org/mantis/file_download.php?file_id=3837&type=bug

Issue History
Date Modified | Username | Field | Change
07-08-2019 11:28 | Jacob Wieland - Spirent | New Issue |
07-08-2019 11:28 | Jacob Wieland - Spirent | Status | new => assigned
07-08-2019 11:28 | Jacob Wieland - Spirent | Assigned To | => Jacob Wieland - Spirent
07-08-2019 11:49 | Jacob Wieland - Spirent | File Added: CR7854.docx |
07-08-2019 11:49 | Jacob Wieland - Spirent | Note Added: 0015394 |
07-08-2019 11:49 | Jacob Wieland - Spirent | Assigned To | Jacob Wieland - Spirent => Tomas Urban
07-08-2019 11:49 | Jacob Wieland - Spirent | Status | assigned => confirmed
07-08-2019 13:55 | Tomas Urban | Assigned To | Tomas Urban => Jacob Wieland - Spirent
07-08-2019 13:55 | Tomas Urban | Status | confirmed => assigned
07-08-2019 13:56 | Tomas Urban | Note Added: 0015409 |
07-08-2019 14:01 | Jacob Wieland - Spirent | File Added: CR7854-2.docx |
07-08-2019 14:02 | Jacob Wieland - Spirent | Note Added: 0015410 |
07-08-2019 14:02 | Jacob Wieland - Spirent | Assigned To | Jacob Wieland - Spirent => Tomas Urban
07-08-2019 14:02 | Jacob Wieland - Spirent | Status | assigned => confirmed
07-08-2019 14:08 | Tomas Urban | Note Added: 0015411 |
07-08-2019 14:08 | Tomas Urban | Status | confirmed => resolved
07-08-2019 14:08 | Tomas Urban | Resolution | open => fixed
07-08-2019 14:08 | Tomas Urban | Assigned To | Tomas Urban => Jens Grabowski
09-01-2020 16:04 | Jens Grabowski | Status | resolved => closed

Notes

(0015394)
Jacob Wieland - Spirent
07-08-2019 11:49

please review

(0015409)
Tomas Urban
07-08-2019 13:56

The proposal is fine, but BNF support for object method calls should be added in order to support constructions like this.myMethod()

(0015410)
Jacob Wieland - Spirent
07-08-2019 14:02

re added change to ObjectInstance, please check

(0015411)
Tomas Urban
07-08-2019 14:08

The proposal is fine and it can be added to next version of the specification.