ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0004269 | Part 01: TTCN-3 Core Language | Clarification | public | 13-10-2008 10:51 | 10-12-2008 12:53

Reporter | tepelmann |
Assigned To | Ina Schieferdecker |
Priority | normal | Severity | major | Reproducibility | N/A
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version | v4.1.1 (published 2009-06) | Fixed in Version | v4.1.1 (published 2009-06) |
Clause Reference(s) | Annex A, 15.9, ...
Source (company - Author) | tepelmann

Summary | 0004269: Allow dotted and index notation for result of function calls

Description

In order to allow dotted and index notation to be applied also to results
of valueof(), regexp(), replace() and results of function calls without
having to assign these to variables first, the BNF should be changed
in the following way.
- Replace rule 592
UnaryExpression ::= [UnaryOp] Primary
by the following:
UnaryExpression ::= [UnaryOp] FieldReferenceOp
- Add a new rule
FieldReferenceOp ::= Primary [ExtendedFieldReference]
- To avoid ambiguity, change rule 457
Value ::= PredefinedValue | ReferencedValue
to the following:
Value ::= PredefinedValue | ValueReference
and delete the rule 477
ReferencedValue ::= ValueReference [ExtendedFieldReference]
This way, field selection and indexing is possible for all expressions,
of course the static semantics for those operators remain the same, i.e.
field selection should only be possible for expressions of
record/set/union type with the appropriate field declaration,
index operation should only be possible for expressions of
record of/set of/array type.

Steps To Reproduce |
Additional Information |
Tags | No tags attached.

Relationships

related to | 0004402 | closed | Ina Schieferdecker | Unneeded restriction in referencing record/set fields

Attached Files |

Issue History
Date Modified | Username | Field | Change
13-10-2008 10:51 | tepelmann | New Issue |
13-10-2008 10:51 | tepelmann | Clause Reference(s) | => Annex A, 15.9, ...
13-10-2008 10:51 | tepelmann | Source (company - Author) | => tepelmann
13-10-2008 18:28 | Ina Schieferdecker | Status | new => assigned
13-10-2008 18:28 | Ina Schieferdecker | Assigned To | => Thomas DeiÃŸ
14-10-2008 17:53 | Thomas DeiÃŸ | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
24-11-2008 17:57 | Ina Schieferdecker | Relationship added | related to 0004402
24-11-2008 17:58 | Ina Schieferdecker | Note Added: 0007392 |
25-11-2008 11:10 | Thomas DeiÃŸ | Assigned To | Thomas DeiÃŸ => Ina Schieferdecker
10-12-2008 12:53 | Ina Schieferdecker | Note Added: 0007630 |
10-12-2008 12:53 | Ina Schieferdecker | Status | assigned => resolved
10-12-2008 12:53 | Ina Schieferdecker | Resolution | open => fixed
10-12-2008 12:53 | Ina Schieferdecker | Category | TTCN-3 Core Language => Clarification
10-12-2008 12:53 | Ina Schieferdecker | Fixed in Version | => Edition 4.1.1 (not yet published)
10-12-2008 12:53 | Ina Schieferdecker | Target Version | => Edition 4.1.1 (not yet published)
10-12-2008 12:53 | Ina Schieferdecker | Status | resolved => closed

Notes

(0007392)
Ina Schieferdecker
24-11-2008 17:58

Resolution for this CR is part of the resolution for CR4402

(0007630)
Ina Schieferdecker
10-12-2008 12:53

Resolution as defined in CR4402.