|
ENTITY Index_expression SUBTYPE OF (String_expression, Binary_generic_expression); DERIVE operand : Generic_expression := SELF\Binary_generic_expression.operands[1]; index : Generic_expression := SELF\Binary_generic_expression.operands[2]; WHERE WR1: ('EXPRESSION_ARM.STRING_EXPRESSION' IN TYPEOF(operand)) AND ('EXPRESSION_ARM.NUMERIC_EXPRESSION' IN TYPEOF(index)); WR2: is_int_expr (index); END_ENTITY; -- Index_expression |
Entity data types and their attributesGeneric_expression- Expression - String_expression - Binary_generic_expression operands: LIST [2:2] OF Generic_expression; Index_expression (DER) operand: Generic_expression; (DER) index: Generic_expression; |
Global rules for this entity data type- |