Hello All,
1.
Seems to be that TFT ImportType in TFT ImportsSourceDefinitionCommentsAttribute /needed only to distinguish imported identifiers with identical names I think/ is unexpected in Core BNF AttribQualifier /in DefOrFieldRef/.
TFT BNF: ImportsSourceDefinitionCommentsAttribute ::= display "(" ImportType ImportIdentifier ")" """ "imports definition comments" ":=" TabFreeText """
Core BNF DefOrFieldRef ::= DefinitionRef | FieldReference
The solution can be a little modification of AttribQualifier, but I do not know how to make it working only for Import part:
AttribQualifier ::= "(" OptionalImportType ... ")"
OptionalImportType :=
[
group |
type |
template |
const |
testcase |
teststep |
function |
signature
]
2.
Furthermore in Core BNF AttribQualifier is represented by comma delimited DefOrFieldRef list but in all TFT BNF only one Identifier is always used wihich suggests exception to the rule, i.e. form of the list is not allowed:
display (Saturday, Sunday) "comments := happy days in life";
Should then AttribQualifier be redefined
from:
AttribQualifier ::= "(" COMMA_LIST/ DefOrFieldRef / ")"
to
AttribQualifier ::= "(" DefOrFieldRef ")"
or all TFT BNF definitions upgraded to inlude list of identifiers, for which common attribute is set /which looks better IMHO/, i.e.:
DefinitionCommentsAttribute ::= display "(" Identifier { "," Identifier } ")" """ "definition comments" ":=" TabFreeText """
BR,
Mariusz Kupiec